mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
bookie: fix typo in minimum winnings code
This commit is contained in:
parent
b07bb7ba6b
commit
b19be42379
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ def Result(link,cmd):
|
||||||
a = GetAccount(bettor)
|
a = GetAccount(bettor)
|
||||||
owinunits = long(total_units_bet * (1-config.bookie_fee) * ounits / total_units_bet_by_winners)
|
owinunits = long(total_units_bet * (1-config.bookie_fee) * ounits / total_units_bet_by_winners)
|
||||||
if owinunits<ounits:
|
if owinunits<ounits:
|
||||||
owinunits=units
|
owinunits=ounits
|
||||||
resultmsg.append("%s wins %s" % (NickFromIdentity(bettor), AmountToString(owinunits)))
|
resultmsg.append("%s wins %s" % (NickFromIdentity(bettor), AmountToString(owinunits)))
|
||||||
p.hincrby("balances",a,owinunits)
|
p.hincrby("balances",a,owinunits)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue