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)