Skip to content

Commit 2bbd01c

Browse files
authored
fix(legacy): fix OK-23319 & OK-23317 (#487)
1 parent fb588e1 commit 2bbd01c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

legacy/firmware/protect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,6 +1601,7 @@ bool protectPassphraseOnDevice(char *passphrase) {
16011601
// check for ButtonAck
16021602
if (msg_tiny_id == MessageType_MessageType_ButtonAck) {
16031603
msg_tiny_id = 0xFFFF;
1604+
timeout_flag = false;
16041605
result = true;
16051606
break;
16061607
}

legacy/firmware/protob/messages-cosmos.options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ CosmosGetAddress.hrp max_size:32
44
CosmosAddress.address max_size:65
55

66
CosmosSignTx.address_n max_count:8
7-
CosmosSignTx.raw_tx max_size:2048
7+
CosmosSignTx.raw_tx max_size:4096
88

99
CosmosSignedTx.signature max_size:64

0 commit comments

Comments
 (0)