mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 16:55:58 +00:00
fix pointer when restoring depracated wownero seed
This commit is contained in:
parent
2591b53e9f
commit
d3c079f1cf
1 changed files with 3 additions and 1 deletions
|
@ -67,10 +67,12 @@ void restoreWalletFromSeedSync(
|
||||||
language: seed, // I KNOW - this is supposed to be called seed
|
language: seed, // I KNOW - this is supposed to be called seed
|
||||||
networkType: 0,
|
networkType: 0,
|
||||||
);
|
);
|
||||||
|
final oldwptr = wptr;
|
||||||
|
wptr = newWptr;
|
||||||
setRefreshFromBlockHeight(
|
setRefreshFromBlockHeight(
|
||||||
height: wownero.WOWNERO_deprecated_14WordSeedHeight(seed: seed),
|
height: wownero.WOWNERO_deprecated_14WordSeedHeight(seed: seed),
|
||||||
);
|
);
|
||||||
|
wptr = oldwptr;
|
||||||
} else {
|
} else {
|
||||||
txhistory = null;
|
txhistory = null;
|
||||||
newWptr = wownero.WalletManager_recoveryWallet(
|
newWptr = wownero.WalletManager_recoveryWallet(
|
||||||
|
|
Loading…
Reference in a new issue