1
0

transaction: fix add_info_from_wallet_and_network

fixes https://github.com/spesmilo/electrum/issues/8406
This commit is contained in:
SomberNight
2023-05-07 21:50:23 +00:00
parent 38ec72527f
commit 209c9f75e0

View File

@@ -1044,7 +1044,7 @@ class Transaction:
Relatedly, this should *not* be called from the network thread.
"""
# note side-effect: tx is being mutated
from .network import NetworkException
from .network import NetworkException, Network
self.add_info_from_wallet(wallet)
try:
if self.is_missing_info_from_network():