From 597e1e753bd5335ea3d0f703f794e304737aee27 Mon Sep 17 00:00:00 2001 From: emmanuelm41 Date: Thu, 31 Oct 2024 14:32:05 -0300 Subject: [PATCH] feat: change items quantity on blindsigning mode --- app/src/common/tx.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/src/common/tx.c b/app/src/common/tx.c index e0d32f9..3c326ac 100644 --- a/app/src/common/tx.c +++ b/app/src/common/tx.c @@ -109,7 +109,7 @@ void tx_parse_reset() zxerr_t tx_getNumItems(uint8_t *num_items) { if(app_mode_blindsign()){ - *num_items = 1; + *num_items = 3; return zxerr_ok; } @@ -131,15 +131,6 @@ zxerr_t tx_getItem(int8_t displayIdx, CHECK_ZXERR(tx_getNumItems(&numItems)) - if(app_mode_blindsign()){ - MEMZERO(outKey, outKeyLen); - MEMZERO(outVal, outValLen); - - snprintf(outKey, outKeyLen, "test"); - snprintf(outVal, outValLen, "test"); - return zxerr_ok; - } - if (displayIdx > numItems) { return zxerr_no_data; }