store passphrase for weird polyseed

This commit is contained in:
Czarek Nakamoto 2024-08-23 13:39:38 +02:00
parent 312e2859c7
commit 779b35f642
2 changed files with 2 additions and 0 deletions

View file

@ -191,6 +191,7 @@ void restoreWalletFromPolyseedWithOffset(
wptr = newWptr;
monero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
monero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.passphrase", value: seedOffset);
storeSync();

View file

@ -210,6 +210,7 @@ void restoreWalletFromPolyseedWithOffset(
wptr = newWptr;
wownero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
wownero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.passphrase", value: seedOffset);
storeSync();