add support for polyseed passphrase

This commit is contained in:
Czarek Nakamoto 2024-07-26 17:14:25 +02:00
parent 81b7a5549a
commit dedf1b3720
2 changed files with 2 additions and 0 deletions

View file

@ -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)));

View file

@ -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)));