backup fix

This commit is contained in:
Czarek Nakamoto 2024-05-20 19:27:12 +02:00
parent 6d76130cbe
commit d78f524f1c

View file

@ -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!));
}
}