diff --git a/cw_core/lib/node.dart b/cw_core/lib/node.dart index b7f2703b8..24346fae0 100644 --- a/cw_core/lib/node.dart +++ b/cw_core/lib/node.dart @@ -268,6 +268,15 @@ class Node { bool get useSocksProxy => socksProxyAddress == null ? false : socksProxyAddress!.isNotEmpty; Uri get uri { + try { + return _uri; + } catch (e) { + printV(e); + return Uri(); + } + } + + Uri get _uri { switch (type) { case WalletType.monero: case WalletType.zcash: