Increase size of V
This commit is contained in:
@@ -59,7 +59,7 @@ void handleSign(uint8_t p1,
|
||||
} else {
|
||||
txContext.txType = LEGACY;
|
||||
}
|
||||
PRINTF("TxType: %d\n", txContext.txType);
|
||||
PRINTF("TxType: %x\n", txContext.txType);
|
||||
} else if (p1 != P1_MORE) {
|
||||
THROW(0x6B00);
|
||||
}
|
||||
|
||||
@@ -267,6 +267,7 @@ void prepareNetworkDisplay() {
|
||||
} else {
|
||||
// Network name found, simply copy it.
|
||||
strlcpy(strings.common.network_name, name, sizeof(strings.common.network_name));
|
||||
PRINTF("COPIED\n");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -452,9 +453,14 @@ void finalizeParsing(bool direct) {
|
||||
|
||||
// Compute maximum fee
|
||||
prepareFeeDisplay();
|
||||
PRINTF("Fees displayed: %s\n", strings.common.maxFee);
|
||||
|
||||
// Prepare chainID field
|
||||
prepareNetworkDisplay();
|
||||
PRINTF("Network bytes: %.*H\n",
|
||||
sizeof(strings.common.network_name),
|
||||
strings.common.network_name);
|
||||
PRINTF("Network: %s\n", strings.common.network_name);
|
||||
|
||||
bool no_consent;
|
||||
|
||||
|
||||
@@ -224,6 +224,7 @@ void ux_approve_tx(bool fromPlugin) {
|
||||
|
||||
uint64_t chain_id = get_chain_id();
|
||||
if (chainConfig->chainId == ETHEREUM_MAINNET_CHAINID && chain_id != chainConfig->chainId) {
|
||||
PRINTF("ADDED GET CHAIN ID\n");
|
||||
ux_approval_tx_flow[step++] = &ux_approval_network_step;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user