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:
parent
eeb46eabca
commit
ef9eb7b7a4
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user