From b9820774baae5a69dd3d9f047b9a1a90878ee6af Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Fri, 13 May 2022 15:03:10 +0200 Subject: [PATCH] Replaced the debug printf in the EIP712 signature function by two more relevant ones --- src_features/signMessageEIP712_common/common_712.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src_features/signMessageEIP712_common/common_712.c b/src_features/signMessageEIP712_common/common_712.c index 93ba048..a2bde33 100644 --- a/src_features/signMessageEIP712_common/common_712.c +++ b/src_features/signMessageEIP712_common/common_712.c @@ -34,7 +34,8 @@ unsigned int ui_712_approve_cb(const bagl_element_t *e) sizeof(tmpCtx.messageSigningContext712.messageHash), hash, sizeof(hash)); - PRINTF("EIP712 hash to sign %.*H\n", 32, hash); + PRINTF("EIP712 Domain hash 0x%.*h\n", 32, tmpCtx.messageSigningContext712.domainHash); + PRINTF("EIP712 Message hash 0x%.*h\n", 32, tmpCtx.messageSigningContext712.messageHash); io_seproxyhal_io_heartbeat(); os_perso_derive_node_bip32(CX_CURVE_256K1, tmpCtx.messageSigningContext712.bip32.path,