1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 19:08:12 +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 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
if res.serialized and res.serialized.signature_index is not None:
@ -963,8 +963,8 @@ class ProtocolMixin(object):
if None in signatures:
raise RuntimeError("Some signatures are missing!")
log("SIGNED IN %.03f SECONDS, CALLED %d MESSAGES, %d BYTES" %
(time.time() - start, counter, len(serialized_tx)))
#log("SIGNED IN %.03f SECONDS, CALLED %d MESSAGES, %d BYTES" %
# (time.time() - start, counter, len(serialized_tx)))
return (signatures, serialized_tx)