1
0

wallet.get_tx_parents: explicitly handle missing "from address"

(happened to work even without this)
This commit is contained in:
SomberNight
2023-05-03 15:08:56 +00:00
parent a1bfea6121
commit 56fa832563
2 changed files with 3 additions and 1 deletions

View File

@@ -787,7 +787,7 @@ class AddressSynchronizer(Logger, EventListener):
self.db.add_num_inputs_to_tx(txid, len(tx.inputs()))
return fee
def get_addr_io(self, address):
def get_addr_io(self, address: str):
with self.lock, self.transaction_lock:
h = self.get_address_history(address).items()
received = {}