From a07be3d8637095cd1a8b0a279176b60595c40652 Mon Sep 17 00:00:00 2001 From: Rafael Saes Date: Fri, 20 Dec 2024 20:22:45 -0300 Subject: [PATCH] chore: prints --- cw_bitcoin/lib/bitcoin_wallet.dart | 3 +-- cw_bitcoin/lib/electrum_wallet.dart | 3 +-- cw_bitcoin/lib/electrum_worker/electrum_worker.dart | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cw_bitcoin/lib/bitcoin_wallet.dart b/cw_bitcoin/lib/bitcoin_wallet.dart index ea805b168..caa617dae 100644 --- a/cw_bitcoin/lib/bitcoin_wallet.dart +++ b/cw_bitcoin/lib/bitcoin_wallet.dart @@ -1476,8 +1476,7 @@ abstract class BitcoinWalletBase extends ElectrumWallet with Store { await updateBalance(); }); - } catch (e, s) { - print([e, s]); + } catch (e) { throw e; } } diff --git a/cw_bitcoin/lib/electrum_wallet.dart b/cw_bitcoin/lib/electrum_wallet.dart index 210fad786..8ea6a583c 100644 --- a/cw_bitcoin/lib/electrum_wallet.dart +++ b/cw_bitcoin/lib/electrum_wallet.dart @@ -926,8 +926,7 @@ abstract class ElectrumWalletBase await updateBalance(); await updateAllUnspents(); }); - } catch (e, s) { - print([e, s]); + } catch (e) { throw e; } } diff --git a/cw_bitcoin/lib/electrum_worker/electrum_worker.dart b/cw_bitcoin/lib/electrum_worker/electrum_worker.dart index 37dbe30f0..2c031a867 100644 --- a/cw_bitcoin/lib/electrum_worker/electrum_worker.dart +++ b/cw_bitcoin/lib/electrum_worker/electrum_worker.dart @@ -662,12 +662,10 @@ class ElectrumWorker { } }); - print("ADDTO WALLET: $addToWallet"); if (addToWallet.isEmpty) { // no results tx, continue to next tx continue; } - print(scanData.labels); // placeholder ElectrumTransactionInfo object to update values based on new scanned unspent(s) final txInfo = ElectrumTransactionInfo(