Fix testnet (#1632)

* fix: failed connection and misc changes

* default isTestnet to false

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
This commit is contained in:
Rafael
2024-08-22 01:31:20 +03:00
committed by GitHub
co-authored by OmarHatem
parent 49d2560eb9
commit c0e0cf02aa
6 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ class CWBitcoin extends Bitcoin {
@override
bool isTestnet(Object wallet) {
final bitcoinWallet = wallet as ElectrumWallet;
return bitcoinWallet.isTestnet ?? false;
return bitcoinWallet.isTestnet;
}
@override