Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Apr 23, 2024
1 parent d9b4b33 commit 8b436c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion electron/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const STATUS_PATH = {

export const WITNET_CONFIG_FILE_NAME = 'witnet.toml'

export const WITNET_RUST_VERSION = '1.5.6'
export const WITNET_RUST_VERSION = '1.7.1'

export const DEFAULT_WALLET_LOG_LEVEL = 'error'

Expand Down
4 changes: 4 additions & 0 deletions electron/walletManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ export class WalletManager {
this.latestWitnetRustVersion,
`~${WITNET_RUST_VERSION}`,
)
console.info(
`Is release compatible? set.${WITNET_RUST_VERSION}`,
isCompatibleRelease,
)
this.needToDownloadWallet =
isCompatibleRelease && !isLatestVersionInstalled
if (isLatestVersionInstalled) {
Expand Down

0 comments on commit 8b436c7

Please sign in to comment.