From 2dfe3cf6d8940fe8c5b0df0e7a770ba665cb7c73 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 10 Jun 2025 13:30:14 +0200 Subject: [PATCH] txbatcher: add comment about batch_input.pop --- electrum/txbatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/txbatcher.py b/electrum/txbatcher.py index 9dac30b98..96dd8367e 100644 --- a/electrum/txbatcher.py +++ b/electrum/txbatcher.py @@ -320,7 +320,7 @@ class TxBatch(Logger): prev_tx_mined_status = self.wallet.adb.get_tx_height(prev_txid) if prev_tx_mined_status.conf > 0: self.logger.info(f"anchor not needed {k}") - self.batch_inputs.pop(k) + self.batch_inputs.pop(k) # note: if the input is already in a batch tx, this will trigger assert error continue if spender_txid := self.wallet.adb.db.get_spent_outpoint(prev_txid, int(index)): tx_mined_status = self.wallet.adb.get_tx_height(spender_txid)