bookie: fix typo in minimum winnings code

This commit is contained in:
moneromooo 2015-02-01 11:36:11 +00:00
parent b07bb7ba6b
commit b19be42379

View file

@ -364,7 +364,7 @@ def Result(link,cmd):
a = GetAccount(bettor)
owinunits = long(total_units_bet * (1-config.bookie_fee) * ounits / total_units_bet_by_winners)
if owinunits<ounits:
owinunits=units
owinunits=ounits
resultmsg.append("%s wins %s" % (NickFromIdentity(bettor), AmountToString(owinunits)))
p.hincrby("balances",a,owinunits)
else: