mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
legacy: fix typo
This commit is contained in:
parent
97974c8d5b
commit
1d151ab4fe
@ -35,8 +35,8 @@ void fsm_msgGetPublicKey(const GetPublicKey *msg) {
|
||||
curve = msg->ecdsa_curve_name;
|
||||
}
|
||||
uint32_t fingerprint;
|
||||
HDNode *node = node = fsm_getDerivedNode(curve, msg->address_n,
|
||||
msg->address_n_count, &fingerprint);
|
||||
HDNode *node = fsm_getDerivedNode(curve, msg->address_n, msg->address_n_count,
|
||||
&fingerprint);
|
||||
if (!node) return;
|
||||
hdnode_fill_public_key(node);
|
||||
|
||||
|
@ -30,8 +30,8 @@ void fsm_msgEthereumGetPublicKey(const EthereumGetPublicKey *msg) {
|
||||
|
||||
const char *curve = coin->curve_name;
|
||||
uint32_t fingerprint;
|
||||
HDNode *node = node = fsm_getDerivedNode(curve, msg->address_n,
|
||||
msg->address_n_count, &fingerprint);
|
||||
HDNode *node = fsm_getDerivedNode(curve, msg->address_n, msg->address_n_count,
|
||||
&fingerprint);
|
||||
if (!node) return;
|
||||
hdnode_fill_public_key(node);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user