mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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) {
|
||||
final polyseed = Polyseed.create();
|
||||
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
||||
polyseed.crypt(credentials.passphrase??'');
|
||||
|
||||
final heightOverride =
|
||||
getMoneroHeigthByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
||||
|
|
|
@ -82,6 +82,7 @@ class WowneroWalletService extends WalletService<
|
|||
if (credentials.isPolyseed) {
|
||||
final polyseed = Polyseed.create();
|
||||
final lang = PolyseedLang.getByEnglishName(credentials.language);
|
||||
polyseed.crypt(credentials.passphrase??'');
|
||||
|
||||
final heightOverride =
|
||||
getWowneroHeightByDate(date: DateTime.now().subtract(Duration(days: 2)));
|
||||
|
|
Loading…
Reference in a new issue