update monitor
This commit is contained in:
parent
0c53f86049
commit
77967881db
@ -44,7 +44,7 @@ class InfuraMonitor:
|
|||||||
to_name = address_names.get(to_address, to_address)
|
to_name = address_names.get(to_address, to_address)
|
||||||
|
|
||||||
if from_address in self.addresses or to_address in self.addresses:
|
if from_address in self.addresses or to_address in self.addresses:
|
||||||
logger.info(f"TX detected in block #{block_num}: {from_name} -> {to_name}")
|
logger.info(f"#{block_num}: {from_name} -> {to_name}")
|
||||||
logger.debug(f"Transaction details: {tx}")
|
logger.debug(f"Transaction details: {tx}")
|
||||||
|
|
||||||
def start_monitor(self, addresses: Dict[str, str]):
|
def start_monitor(self, addresses: Dict[str, str]):
|
||||||
|
Loading…
Reference in New Issue
Block a user