mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
backup fix
This commit is contained in:
parent
6d76130cbe
commit
d78f524f1c
1 changed files with 1 additions and 1 deletions
|
@ -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!));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue