From d911ea0e666797300c0bd565ef1085258b0f8aa9 Mon Sep 17 00:00:00 2001 From: Julian Date: Thu, 7 Dec 2023 12:17:51 -0600 Subject: [PATCH] temp fix nano --- lib/services/coins/nano/nano_wallet.dart | 7 ++++--- lib/utilities/default_nodes.dart | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/services/coins/nano/nano_wallet.dart b/lib/services/coins/nano/nano_wallet.dart index bf324a95d..0f647752c 100644 --- a/lib/services/coins/nano/nano_wallet.dart +++ b/lib/services/coins/nano/nano_wallet.dart @@ -850,9 +850,10 @@ class NanoWallet extends CoinServiceAPI with WalletCache, WalletDB { int get storedChainHeight => getCachedChainHeight(); NodeModel getCurrentNode() { - return _xnoNode ?? - NodeService(secureStorageInterface: _secureStore) - .getPrimaryNodeFor(coin: coin) ?? + return + // _xnoNode ?? + // NodeService(secureStorageInterface: _secureStore) + // .getPrimaryNodeFor(coin: coin) ?? DefaultNodes.getNodeFor(coin); } diff --git a/lib/utilities/default_nodes.dart b/lib/utilities/default_nodes.dart index 210959f65..51696ce5b 100644 --- a/lib/utilities/default_nodes.dart +++ b/lib/utilities/default_nodes.dart @@ -206,7 +206,8 @@ abstract class DefaultNodes { isDown: false); static NodeModel get nano => NodeModel( - host: "https://rainstorm.city/api", + // host: "https://rainstorm.city/api", + host: "https://app.natrium.io/api", port: 443, name: defaultName, id: _nodeId(Coin.nano),