mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
add support for polyseed passphrase
This commit is contained in:
parent
81b7a5549a
commit
dedf1b3720
2 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,7 @@ class MoneroWalletService extends WalletService<MoneroNewWalletCredentials,
|
||||||
if (credentials.isPolyseed) {
|
if (credentials.isPolyseed) {
|
||||||
final polyseed = Polyseed.create();
|
final polyseed = Polyseed.create();
|
||||||
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
||||||
|
polyseed.crypt(credentials.passphrase??'');
|
||||||
|
|
||||||
final heightOverride =
|
final heightOverride =
|
||||||
getMoneroHeigthByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
getMoneroHeigthByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
||||||
|
|
|
@ -82,6 +82,7 @@ class WowneroWalletService extends WalletService<
|
||||||
if (credentials.isPolyseed) {
|
if (credentials.isPolyseed) {
|
||||||
final polyseed = Polyseed.create();
|
final polyseed = Polyseed.create();
|
||||||
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
||||||
|
polyseed.crypt(credentials.passphrase??'');
|
||||||
|
|
||||||
final heightOverride =
|
final heightOverride =
|
||||||
getWowneroHeightByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
getWowneroHeightByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
||||||
|
|
Loading…
Reference in a new issue