Replace another %.16f with AmountToString

This commit is contained in:
moneromooo 2014-12-22 20:46:58 +00:00
parent c8f765f361
commit adff17d735
1 changed files with 1 additions and 1 deletions

View File

@ -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: