From 83feec2cb3e36cd8e96ca14a4edc121c8125d473 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 12 Aug 2022 18:07:12 +0200 Subject: [PATCH] fix #7933 --- electrum/gui/kivy/uix/dialogs/tx_dialog.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/gui/kivy/uix/dialogs/tx_dialog.py b/electrum/gui/kivy/uix/dialogs/tx_dialog.py index ce92babc2..ea39d27b1 100644 --- a/electrum/gui/kivy/uix/dialogs/tx_dialog.py +++ b/electrum/gui/kivy/uix/dialogs/tx_dialog.py @@ -348,12 +348,12 @@ class TxDialog(Factory.Popup): def remove_local_tx(self): txid = self.tx.txid() - num_child_txs = len(self.wallet.get_depending_transactions(txid)) + num_child_txs = len(self.wallet.abb.get_depending_transactions(txid)) question = _("Are you sure you want to remove this transaction?") if num_child_txs > 0: - question = (_("Are you sure you want to remove this transaction and {} child transactions?") - .format(num_child_txs)) - + question = ( + _("Are you sure you want to remove this transaction and {} child transactions?") + .format(num_child_txs)) def on_prompt(b): if b: self.wallet.adb.remove_transaction(txid)