From d78f524f1cfdc04485ec4c066ed2daf63e05b31d Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Mon, 20 May 2024 19:27:12 +0200 Subject: [PATCH] backup fix --- cw_monero/lib/api/wallet.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_monero/lib/api/wallet.dart b/cw_monero/lib/api/wallet.dart index 16bbe8018..51bd995ce 100644 --- a/cw_monero/lib/api/wallet.dart +++ b/cw_monero/lib/api/wallet.dart @@ -128,7 +128,7 @@ void setPasswordSync(String password) { monero.Wallet_setPassword(wptr!, password: password); final status = monero.Wallet_status(wptr!); - if (status == 0) { + if (status != 0) { throw Exception(monero.Wallet_errorString(wptr!)); } }