We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5fb0c3 commit 7c6d2feCopy full SHA for 7c6d2fe
firmware/fsm.c
@@ -268,6 +268,11 @@ void fsm_msgGetPublicKey(GetPublicKey *msg)
268
{
269
RESP_INIT(PublicKey);
270
271
+ if (!protectPin(true)) {
272
+ layoutHome();
273
+ return;
274
+ }
275
+
276
const HDNode *node = fsm_getDerivedNode(msg->address_n, msg->address_n_count);
277
if (!node) return;
278
@@ -500,6 +505,11 @@ void fsm_msgGetAddress(GetAddress *msg)
500
505
501
506
RESP_INIT(Address);
502
507
508
509
510
511
512
503
513
const CoinType *coin = fsm_getCoin(msg->coin_name);
504
514
if (!coin) return;
515
0 commit comments