mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-31 16:09:49 +00:00
remove unused code
This commit is contained in:
parent
75c2bf2db9
commit
9606e21005
2 changed files with 0 additions and 10 deletions
|
@ -32,14 +32,9 @@ String getSeed() {
|
|||
// monero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
|
||||
final cakepolyseed =
|
||||
monero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
||||
final cakepassphrase = getPassphrase();
|
||||
if (cakepolyseed != "") {
|
||||
return cakepolyseed;
|
||||
}
|
||||
final polyseed = monero.Wallet_getPolyseed(wptr!, passphrase: cakepassphrase);
|
||||
if (polyseed != "") {
|
||||
return polyseed;
|
||||
}
|
||||
final legacy = getSeedLegacy("English");
|
||||
return legacy;
|
||||
}
|
||||
|
|
|
@ -34,14 +34,9 @@ String getSeed() {
|
|||
// wownero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
|
||||
final cakepolyseed =
|
||||
wownero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
||||
final cakepassphrase = getPassphrase();
|
||||
if (cakepolyseed != "") {
|
||||
return cakepolyseed;
|
||||
}
|
||||
final polyseed = wownero.Wallet_getPolyseed(wptr!, passphrase: cakepassphrase);
|
||||
if (polyseed != "") {
|
||||
return polyseed;
|
||||
}
|
||||
final legacy = getSeedLegacy(null);
|
||||
return legacy;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue