mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
fix wallet resttore, fix hardcoded IP
This commit is contained in:
parent
268a884af5
commit
fe0ddcd031
2 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,7 @@ import 'package:monero/zano.dart' as zano;
|
|||
import 'package:monero/src/generated_bindings_zano.g.dart' as zanoapi;
|
||||
|
||||
mixin ZanoWalletApi {
|
||||
static const _defaultNodeUri = '195.201.107.230:33336';
|
||||
static const _defaultNodeUri = '195.201.107.230:33340';
|
||||
static const _statusDelivered = 'delivered';
|
||||
static const _maxInvokeAttempts = 10;
|
||||
static const _maxReopenAttempts = 5;
|
||||
|
@ -84,7 +84,7 @@ mixin ZanoWalletApi {
|
|||
_json('get_wallet_status', json);
|
||||
if (_logInfo)
|
||||
info(
|
||||
'get_wallet_status connected: ${status.isDaemonConnected} in refresh: ${status.isInLongRefresh} progress: ${status.progress} wallet state: ${status.walletState}');
|
||||
'get_wallet_status connected: ${status.isDaemonConnected} in refresh: ${status.isInLongRefresh} progress: ${status.progress} wallet state: ${status.walletState} sync: ${status.currentWalletHeight}/${status.currentWalletHeight}');
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
@ -274,6 +274,7 @@ class WalletRestorePage extends BasePage {
|
|||
final seedWords = seedPhrase.split(' ');
|
||||
|
||||
if (seedWords.length == 14 && walletRestoreViewModel.type == WalletType.wownero) return true;
|
||||
if (seedWords.length == 26 && walletRestoreViewModel.type == WalletType.zano) return true;
|
||||
|
||||
if ((walletRestoreViewModel.type == WalletType.monero ||
|
||||
walletRestoreViewModel.type == WalletType.wownero ||
|
||||
|
|
Loading…
Reference in a new issue