diff --git a/src/ui/bagl_display.c b/src/ui/bagl_display.c index c363013..5ea1ac9 100644 --- a/src/ui/bagl_display.c +++ b/src/ui/bagl_display.c @@ -203,10 +203,7 @@ int ui_display_transaction() { memset(g_amount, 0, sizeof(g_amount)); char amount[30] = {0}; - if (!format_fpu64(amount, - sizeof(amount), - G_context.tx_info.transaction.value, - EXPONENT_SMALLEST_UNIT)) { + if (!format_fpu64(amount, sizeof(amount), *G_context.tx_info.transaction.value, EXPONENT_SMALLEST_UNIT)) { return io_send_sw(SW_DISPLAY_AMOUNT_FAIL); } snprintf(g_amount, sizeof(g_amount), "BOL %.*s", sizeof(amount), amount); diff --git a/tests/test_version_cmd.py b/tests/test_version_cmd.py index c1e04dd..9b43b90 100644 --- a/tests/test_version_cmd.py +++ b/tests/test_version_cmd.py @@ -2,9 +2,9 @@ from application_client.boilerplate_response_unpacker import unpack_get_version_response # Taken from the Makefile, to update every time the Makefile version is bumped -MAJOR = 2 -MINOR = 1 -PATCH = 0 +MAJOR = 1 +MINOR = 0 +PATCH = 2 # In this test we check the behavior of the device when asked to provide the app version def test_version(backend):