Activate full EIP-191 implementation on LNS + with adequate wording

This commit is contained in:
Alexandre Paillier
2022-10-03 16:57:02 +02:00
parent eaeb7cb4c2
commit e9ecf2e109
2 changed files with 8 additions and 24 deletions

View File

@@ -183,12 +183,6 @@ static void feed_display(void) {
}
}
#ifdef TARGET_NANOS
if ((remaining_ui_buffer_length() == 0) && (unprocessed_length > 0)) {
sprintf(remaining_ui_buffer() - 3, "...");
}
#endif
if ((remaining_ui_buffer_length() == 0) ||
(tmpCtx.messageSigningContext.remainingLength == 0)) {
if (!states.ui_started) {
@@ -254,7 +248,6 @@ bool handleSignPersonalMessage(uint8_t p1,
return true;
}
#ifndef TARGET_NANOS
/**
* Decide whether to show the question to show more of the message or not
*/
@@ -267,7 +260,6 @@ void question_switcher(void) {
ui_191_switch_to_sign();
}
}
#endif
/**
* The user has decided to skip the rest of the message
@@ -281,7 +273,6 @@ void skip_rest_of_message(void) {
}
}
#ifndef TARGET_NANOS
/**
* The user has decided to see the next chunk of the message
*/
@@ -291,4 +282,3 @@ void continue_displaying_message(void) {
feed_display();
}
}
#endif