From 74a46689d863f7f465b32c9cc5cbbe980de2b5f1 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 7 Nov 2019 02:26:58 +0100 Subject: [PATCH] kivy tx dialog: was missing tx.add_input_from_wallet() call resulted in e.g. incorrect "tx unrelated to wallet" detection for beyond-gap-limit stuff --- electrum/gui/kivy/uix/dialogs/tx_dialog.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/electrum/gui/kivy/uix/dialogs/tx_dialog.py b/electrum/gui/kivy/uix/dialogs/tx_dialog.py index ed4928893..814185229 100644 --- a/electrum/gui/kivy/uix/dialogs/tx_dialog.py +++ b/electrum/gui/kivy/uix/dialogs/tx_dialog.py @@ -130,6 +130,11 @@ class TxDialog(Factory.Popup): self.tx = tx # type: Transaction self._action_button_fn = lambda btn: None + # if the wallet can populate the inputs with more info, do it now. + # as a result, e.g. we might learn an imported address tx is segwit, + # or that a beyond-gap-limit address is is_mine + tx.add_info_from_wallet(self.wallet) + def on_open(self): self.update()