This commit is contained in:
Jack Robison 2017-04-12 14:48:47 -04:00
parent 2c8b99df76
commit 8c361aef1a

View file

@ -1842,7 +1842,7 @@ class Daemon(AuthJSONRPCServer):
if bid <= 0.0: if bid <= 0.0:
raise Exception("Invalid bid") raise Exception("Invalid bid")
if bid < self.session.wallet.get_balance(): if bid > self.session.wallet.get_balance():
raise InsufficientFundsError() raise InsufficientFundsError()
metadata = metadata or {} metadata = metadata or {}