Browse Source

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
patch-1
SomberNight 5 years ago
parent
commit
74a46689d8
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 5
      electrum/gui/kivy/uix/dialogs/tx_dialog.py

5
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()

Loading…
Cancel
Save