diff --git a/lib/core/src/sdk.rs b/lib/core/src/sdk.rs index 08c7f5a..7401e6c 100644 --- a/lib/core/src/sdk.rs +++ b/lib/core/src/sdk.rs @@ -833,9 +833,7 @@ impl LiquidSdk { self.persister.clone(), self.swapper.clone(), ); - let txs = self.onchain_wallet.transactions().await?; - let num = txs.len(); - for tx in txs { + for tx in self.onchain_wallet.transactions().await? { let tx_id = tx.txid.to_string(); let is_tx_confirmed = tx.height.is_some(); let amount_sat = tx.balance.values().sum::(); @@ -852,15 +850,8 @@ impl LiquidSdk { .update_swap_info(&swap.id, Failed, None, None, None) .await?; } - } else { - info!("*******Processing unconfirmed tx: {tx_id}"); } - print!( - "*******Got tx num: {num}: {tx_id} height: {:?} \n", - tx.height - ); - self.persister.insert_or_update_payment(PaymentTxData { tx_id, timestamp: tx.timestamp,