From fe05f5a53d8821c9315b159ca9caf591dc27d37c Mon Sep 17 00:00:00 2001 From: fosse <matt.cfosse@gmail.com> Date: Fri, 25 Aug 2023 09:12:59 -0400 Subject: [PATCH] cleanup --- cw_bitcoin/lib/bitcoin_wallet_service.dart | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cw_bitcoin/lib/bitcoin_wallet_service.dart b/cw_bitcoin/lib/bitcoin_wallet_service.dart index d04f66366..2b572c9f6 100644 --- a/cw_bitcoin/lib/bitcoin_wallet_service.dart +++ b/cw_bitcoin/lib/bitcoin_wallet_service.dart @@ -124,8 +124,6 @@ class BitcoinWalletService extends WalletService<BitcoinNewWalletCredentials, final electrumClient = ElectrumClient(); await electrumClient.connectToUri(node.uri); - print("@@@@@@@@@@@@@@"); - for (DerivationType dType in bitcoin_derivations.keys) { if (dType == DerivationType.bip39) { for (DerivationInfo dInfo in bitcoin_derivations[dType]!) { @@ -151,20 +149,17 @@ class BitcoinWalletService extends WalletService<BitcoinNewWalletCredentials, .address; break; case "p2wpkh-p2sh": - // address = bitcoin.P default: address = wallet.address; break; } - print( - "${dInfo.derivationType.toString()} : ${dInfo.derivationPath} : ${dInfo.script_type} : ${address}"); + // print( + // "${dInfo.derivationType.toString()} : ${dInfo.derivationPath} : ${dInfo.script_type} : ${address}"); final sh = scriptHash(address!, networkType: bitcoin.bitcoin); final history = await electrumClient.getHistory(sh); - print(history); - final balance = await electrumClient.getBalance(sh); dInfo.balance = balance.entries.first.value.toString(); dInfo.address = address;