From 8b436c7d5d48e5f91ceba5d050ceba7462bbb991 Mon Sep 17 00:00:00 2001 From: gabaldon Date: Tue, 23 Apr 2024 12:21:08 +0200 Subject: [PATCH] wip --- electron/constants.ts | 2 +- electron/walletManager.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/electron/constants.ts b/electron/constants.ts index cab3faf9a..1adbffece 100644 --- a/electron/constants.ts +++ b/electron/constants.ts @@ -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' diff --git a/electron/walletManager.ts b/electron/walletManager.ts index 60d740fbe..4c2b28039 100644 --- a/electron/walletManager.ts +++ b/electron/walletManager.ts @@ -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) {