diff --git a/firmware/protect.c b/firmware/protect.c index a473fd226e..4c1596ee26 100644 --- a/firmware/protect.c +++ b/firmware/protect.c @@ -140,12 +140,12 @@ bool protectPin(bool use_cached) const char *pin; uint32_t wait = storage_getPinFails(); if (wait) { - if (wait > 4) { + if (wait > 2) { layoutDialogSwipe(DIALOG_ICON_INFO, NULL, NULL, NULL, "Wrong PIN entered", NULL, "Please wait ...", NULL, NULL, NULL); } wait = (wait < 32) ? (1u << wait) : 0xFFFFFFFF; while (--wait > 0) { - delay(1000000); + delay(10000000); } } pin = requestPin(PinMatrixRequestType_PinMatrixRequestType_Current, "Please enter current PIN:"); diff --git a/firmware/protob/types.options b/firmware/protob/types.options index 9c29909b98..d3297e9dce 100644 --- a/firmware/protob/types.options +++ b/firmware/protob/types.options @@ -7,7 +7,7 @@ CoinType.coin_shortcut max_size:9 TxInputType.address_n max_count:8 TxInputType.prev_hash max_size:32 -TxInputType.script_sig max_size:256 +TxInputType.script_sig max_size:520 TxOutputType.address max_size:35 TxOutputType.address_n max_count:8