From ef9eb7b7a44a2d5083f3b4c9d232b5c5b9f0f6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Vejpustek?= Date: Wed, 20 May 2020 12:51:00 +0200 Subject: [PATCH] legacy/stellar: change price format --- legacy/firmware/stellar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/firmware/stellar.c b/legacy/firmware/stellar.c index e7b081ea4..3cfa00599 100644 --- a/legacy/firmware/stellar.c +++ b/legacy/firmware/stellar.c @@ -1241,7 +1241,7 @@ void stellar_format_price(uint32_t numerator, uint32_t denominator, char *out, } // Format with bn_format_uint64 - bn_format_uint64(value, NULL, NULL, scale, 0, false, out, outlen); + bn_format_uint64(value, NULL, NULL, 6, 6 - scale, true, out, outlen); } /*