1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

legacy/stellar: change price format

This commit is contained in:
Ondřej Vejpustek 2020-05-20 12:51:00 +02:00 committed by Pavol Rusnak
parent eeb46eabca
commit ef9eb7b7a4

View File

@ -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);
}
/*