mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 16:55:58 +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);
|
// monero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
|
||||||
final cakepolyseed =
|
final cakepolyseed =
|
||||||
monero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
monero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
||||||
final cakepassphrase = getPassphrase();
|
|
||||||
if (cakepolyseed != "") {
|
if (cakepolyseed != "") {
|
||||||
return cakepolyseed;
|
return cakepolyseed;
|
||||||
}
|
}
|
||||||
final polyseed = monero.Wallet_getPolyseed(wptr!, passphrase: cakepassphrase);
|
|
||||||
if (polyseed != "") {
|
|
||||||
return polyseed;
|
|
||||||
}
|
|
||||||
final legacy = getSeedLegacy("English");
|
final legacy = getSeedLegacy("English");
|
||||||
return legacy;
|
return legacy;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,14 +34,9 @@ String getSeed() {
|
||||||
// wownero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
|
// wownero.Wallet_setCacheAttribute(wptr!, key: "cakewallet.seed", value: seed);
|
||||||
final cakepolyseed =
|
final cakepolyseed =
|
||||||
wownero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
wownero.Wallet_getCacheAttribute(wptr!, key: "cakewallet.seed");
|
||||||
final cakepassphrase = getPassphrase();
|
|
||||||
if (cakepolyseed != "") {
|
if (cakepolyseed != "") {
|
||||||
return cakepolyseed;
|
return cakepolyseed;
|
||||||
}
|
}
|
||||||
final polyseed = wownero.Wallet_getPolyseed(wptr!, passphrase: cakepassphrase);
|
|
||||||
if (polyseed != "") {
|
|
||||||
return polyseed;
|
|
||||||
}
|
|
||||||
final legacy = getSeedLegacy(null);
|
final legacy = getSeedLegacy(null);
|
||||||
return legacy;
|
return legacy;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue