reversed the order of soul and aura for logging

This commit is contained in:
Alexander 2024-08-23 19:38:48 -04:00
parent 251d544cd4
commit f2041b5f38

View file

@ -66,7 +66,7 @@ def output_line(log):
block_cache[block_number] = web3.eth.get_block(block_number)
# log the message and output to console
message = "{}:{} {}".format(decoded_data[0]['args']['Aura'], decoded_data[0]['args']['Soul'], decoded_data[0]['args']['LogLine'])
message = "{}:{} {}".format(decoded_data[0]['args']['Soul'], decoded_data[0]['args']['Aura'], decoded_data[0]['args']['LogLine'])
log_message(os.getenv('CHANNEL_NAME'), message)
timestamp = datetime.fromtimestamp(block_cache[block_number]['timestamp'], tz=timezone.utc)
print("[{}] {}".format(timestamp.strftime("%Y-%m-%d %H:%M:%S"), message if os.getenv('SHOW_AURA_AND_SOUL') != '0' else decoded_data[0]['args']['LogLine']))