mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
temp: comment out polyseed issue for silent payments build
This commit is contained in:
parent
39aeebd09d
commit
6ea5c50884
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@ import 'package:cw_monero/api/wallet_manager.dart' as monero_wallet_manager;
|
|||
import 'package:cw_monero/monero_wallet.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:polyseed/polyseed.dart';
|
||||
import 'package:polyseed/src/utils/key_utils.dart';
|
||||
// import 'package:polyseed/src/utils/key_utils.dart';
|
||||
|
||||
class MoneroNewWalletCredentials extends WalletCredentials {
|
||||
MoneroNewWalletCredentials({required String name, required this.language, required this.isPolyseed, String? password})
|
||||
|
@ -275,7 +275,8 @@ class MoneroWalletService extends WalletService<
|
|||
{PolyseedCoin coin = PolyseedCoin.POLYSEED_MONERO, int? overrideHeight}) async {
|
||||
final height = overrideHeight ?? getMoneroHeigthByDate(
|
||||
date: DateTime.fromMillisecondsSinceEpoch(polyseed.birthday * 1000));
|
||||
final spendKey = keyToHexString(polyseed.generateKey(coin, 32));
|
||||
// final spendKey = keyToHexString(polyseed.generateKey(coin, 32));
|
||||
final spendKey = "";
|
||||
final seed = polyseed.encode(lang, coin);
|
||||
|
||||
walletInfo.isRecovery = true;
|
||||
|
|
Loading…
Reference in a new issue