diff --git a/src_features/signTx/logic_signTx.c b/src_features/signTx/logic_signTx.c index e7b10cf..002f21e 100644 --- a/src_features/signTx/logic_signTx.c +++ b/src_features/signTx/logic_signTx.c @@ -249,7 +249,9 @@ void finalizeParsing(bool direct) { if (txContext.txType == LEGACY) { id = u32_from_BE(txContext.content->v, txContext.content->vLength, true); } else if (txContext.txType == EIP2930) { - id = u32_from_BE(txContext.content->chainID.value, txContext.content->chainID.length, false); + id = u32_from_BE(txContext.content->chainID.value, + txContext.content->chainID.length, + false); } else { PRINTF("TxType `%u` not supported while checking for chainID\n", txContext.txType); return; diff --git a/src_features/signTx/ui_flow_signTx.c b/src_features/signTx/ui_flow_signTx.c index 345fef8..31de33d 100644 --- a/src_features/signTx/ui_flow_signTx.c +++ b/src_features/signTx/ui_flow_signTx.c @@ -175,7 +175,8 @@ void ux_approve_tx(bool dataPresent) { if (txContext.txType == LEGACY) { id = u32_from_BE(txContext.content->v, txContext.content->vLength, true); } else if (txContext.txType == EIP2930) { - id = u32_from_BE(txContext.content->chainID.value, txContext.content->chainID.length, false); + id = + u32_from_BE(txContext.content->chainID.value, txContext.content->chainID.length, false); } else { PRINTF("TxType `%u` not supported while preparing to approve tx\n", txContext.txType); THROW(0x6501);