diff --git a/cw_monero/lib/monero_wallet_service.dart b/cw_monero/lib/monero_wallet_service.dart index e289f9f17..0163b17e1 100644 --- a/cw_monero/lib/monero_wallet_service.dart +++ b/cw_monero/lib/monero_wallet_service.dart @@ -403,6 +403,8 @@ class MoneroWalletService extends WalletService< monero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed.bip39", value: mnemonic); + monero.Wallet_setCacheAttribute(wptr!, + key: "cakewallet.passphrase", value: passphrase ?? ''); monero.Wallet_store(wptr!);