mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Replace another %.16f with AmountToString
This commit is contained in:
parent
c8f765f361
commit
adff17d735
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ def Tip(nick,data):
|
|||
SendTo(sendto, "Invalid amount")
|
||||
return
|
||||
if units > balance:
|
||||
SendTo(sendto, "You only have %.16g" % (balance / 1e12))
|
||||
SendTo(sendto, "You only have %s" % (AmountToString(balance)))
|
||||
return
|
||||
log_info('Tip: %s tipping %s %u units, with balance %u' % (nick, who, units, balance))
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue