Fix <1 sat fee formatting 🤦‍♂️

pull/18/head
rkfg 2 years ago
parent 080f0c7f93
commit a1d0e56f6b

@ -40,7 +40,7 @@ func formatAmt(amt int64) string {
func formatFee(amtMsat int64) string {
if amtMsat < 1000 {
return hiWhiteColorF("0.%d", amtMsat)
return hiWhiteColorF("0.%03d", amtMsat)
}
return hiWhiteColor(amtMsat / 1000)
}

Loading…
Cancel
Save