teos - adds log line with tower id

This commit is contained in:
Sergi Delgado Segura
2020-04-29 13:04:02 +02:00
parent 88c19d5a0d
commit 390dc3e090

View File

@@ -66,6 +66,11 @@ def main(command_line_conf):
if not secret_key_der:
raise IOError("TEOS private key cannot be loaded")
logger.info(
"tower_id = {}".format(
Cryptographer.get_compressed_pk(Cryptographer.load_private_key_der(secret_key_der).public_key)
)
)
block_processor = BlockProcessor(bitcoind_connect_params)
carrier = Carrier(bitcoind_connect_params)