Fix big amounts (#199)

* Fix wrong display of amounts >= 2^87

* Add test to check that amounts >= 2^87 make the app throw

* Bump v1.9.7 and update changelog
This commit is contained in:
Jean P
2021-10-04 11:26:01 +02:00
committed by GitHub
parent fb7204fb6c
commit 408805f751
5 changed files with 29 additions and 11 deletions

View File

@@ -440,7 +440,7 @@ void finalizeParsing(bool direct) {
displayBuffer,
sizeof(displayBuffer));
compareOrCopy(strings.common.fullAmount,
sizeof(strings.common.fullAddress),
sizeof(strings.common.fullAmount),
displayBuffer,
called_from_swap);
}