Update some prototypes to use chainId value instead of chainConfig structure
This commit is contained in:
@@ -50,7 +50,7 @@ void handleGetPublicKey(uint8_t p1,
|
||||
getEthAddressStringFromKey(&tmpCtx.publicKeyContext.publicKey,
|
||||
tmpCtx.publicKeyContext.address,
|
||||
&global_sha3,
|
||||
chainConfig);
|
||||
chainConfig->chainId);
|
||||
#ifndef NO_CONSENT
|
||||
if (p1 == P1_NON_CONFIRM)
|
||||
#endif // NO_CONSENT
|
||||
|
||||
@@ -419,7 +419,7 @@ void finalizeParsing(bool direct) {
|
||||
displayBuffer,
|
||||
sizeof(displayBuffer),
|
||||
&global_sha3,
|
||||
chainConfig);
|
||||
chainConfig->chainId);
|
||||
compareOrCopy(strings.common.fullAddress,
|
||||
sizeof(strings.common.fullAddress),
|
||||
displayBuffer,
|
||||
|
||||
@@ -183,7 +183,7 @@ UX_STEP_NOCB_INIT(
|
||||
strings.tmp.tmp,
|
||||
sizeof(strings.tmp.tmp),
|
||||
&global_sha3,
|
||||
chainConfig),
|
||||
chainConfig->chainId),
|
||||
{
|
||||
.title = "Cond. Address",
|
||||
.text = strings.tmp.tmp
|
||||
|
||||
Reference in New Issue
Block a user