1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-20 11:32:04 +00:00

Remove unnecessary logging

This commit is contained in:
slush 2018-02-06 20:52:45 +01:00
parent 6a22cf481c
commit f00a689087

View File

@ -894,7 +894,7 @@ class ProtocolMixin(object):
# If there's some part of signed transaction, let's add it # If there's some part of signed transaction, let's add it
if res.serialized and res.serialized.serialized_tx: if res.serialized and res.serialized.serialized_tx:
log("RECEIVED PART OF SERIALIZED TX (%d BYTES)" % len(res.serialized.serialized_tx)) #log("RECEIVED PART OF SERIALIZED TX (%d BYTES)" % len(res.serialized.serialized_tx))
serialized_tx += res.serialized.serialized_tx serialized_tx += res.serialized.serialized_tx
if res.serialized and res.serialized.signature_index is not None: if res.serialized and res.serialized.signature_index is not None:
@ -963,8 +963,8 @@ class ProtocolMixin(object):
if None in signatures: if None in signatures:
raise RuntimeError("Some signatures are missing!") raise RuntimeError("Some signatures are missing!")
log("SIGNED IN %.03f SECONDS, CALLED %d MESSAGES, %d BYTES" % #log("SIGNED IN %.03f SECONDS, CALLED %d MESSAGES, %d BYTES" %
(time.time() - start, counter, len(serialized_tx))) # (time.time() - start, counter, len(serialized_tx)))
return (signatures, serialized_tx) return (signatures, serialized_tx)