Remove debugging statements

This commit is contained in:
pscott
2021-08-27 17:28:24 +02:00
parent 6d3f6c325e
commit 847db91cfb
4 changed files with 5 additions and 16 deletions

View File

@@ -39,8 +39,11 @@ unsigned int io_seproxyhal_touch_tx_ok(__attribute__((unused)) const bagl_elemen
G_io_apdu_buffer[0] = 27;
} else {
// New API
// Note that this is wrong for a large v, but the client can always recover
uint64_t v = u64_from_BE(tmpContent.txContent.v, tmpContent.txContent.vLength);
// Note that this is wrong for a large v, but ledgerjs will recover.
// Casting to u32 not to introduce breaking changes. In the future, this should be
// updated.
uint32_t v = U4BE(tmpContent.txContent.v, 0);
G_io_apdu_buffer[0] = (v * 2) + 35;
}
if (info & CX_ECCINFO_PARITY_ODD) {