From b79f43c360944a4af493ed87161c21143cb39b31 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 2 Mar 2019 19:16:39 +0100 Subject: [PATCH] wallet: fix RBF batching post-storage_db-merge fixup --- electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index f38bada9d..90a5ba689 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -626,7 +626,7 @@ class Abstract_Wallet(AddressSynchronizer): # is_mine outputs should not be spent yet # to avoid cancelling our own dependent transactions txid = tx.txid() - if any([self.is_mine(o.address) and self.spent_outpoints[txid].get(output_idx) + if any([self.is_mine(o.address) and self.db.get_spent_outpoint(txid, output_idx) for output_idx, o in enumerate(tx.outputs())]): continue # all inputs should be is_mine