legacy/stellar: change price format

pull/1009/head
Ondřej Vejpustek 4 years ago committed by Pavol Rusnak
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…
Cancel
Save