transaction: fix add_info_from_wallet_and_network
fixes https://github.com/spesmilo/electrum/issues/8406
This commit is contained in:
@@ -1044,7 +1044,7 @@ class Transaction:
|
|||||||
Relatedly, this should *not* be called from the network thread.
|
Relatedly, this should *not* be called from the network thread.
|
||||||
"""
|
"""
|
||||||
# note side-effect: tx is being mutated
|
# note side-effect: tx is being mutated
|
||||||
from .network import NetworkException
|
from .network import NetworkException, Network
|
||||||
self.add_info_from_wallet(wallet)
|
self.add_info_from_wallet(wallet)
|
||||||
try:
|
try:
|
||||||
if self.is_missing_info_from_network():
|
if self.is_missing_info_from_network():
|
||||||
|
|||||||
Reference in New Issue
Block a user