log before processing, after server reply

This commit is contained in:
Victor Shyba 2020-05-23 01:27:28 -03:00
parent f5ccb8efdc
commit 5a3cd577db

View file

@ -483,6 +483,7 @@ class Ledger(metaclass=LedgerRegistry):
def process_status_update(self, update):
address, remote_status = update
log.info("Server sent update for %s, processing.", address)
self._update_tasks.add(self.update_history(address, remote_status))
async def update_history(self, address, remote_status, address_manager: AddressManager = None):