Fix swap issue with nonce update, save a few bytes and improve settings switch feedback

This commit is contained in:
TamtamHero
2021-02-12 11:53:41 +01:00
parent 9874ab4116
commit a96caadc4f
3 changed files with 18 additions and 17 deletions

View File

@@ -360,7 +360,7 @@ void finalizeParsing(bool direct) {
tmpContent.txContent.nonce.length,
&nonce);
tostring256(&nonce, 10, displayBuffer, sizeof(displayBuffer));
compareOrCopy(strings.common.nonce, displayBuffer, called_from_swap);
strncpy(strings.common.nonce, displayBuffer, sizeof(strings.common.nonce));
}
// Compute maximum fee
if (genericUI) {