fixed minimum pulse required to send from seller
This commit is contained in:
parent
ccc446202f
commit
de78614d82
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ while True:
|
|||
send_to_wallet_b = float(round(pls_balance / 4, 2))
|
||||
# send the rest to buyer
|
||||
send_to_wallet_a = float(round(pls_balance - send_to_wallet_b, 2))
|
||||
if pls_balance > wallet_min_pls:
|
||||
if pls_balance > 0:
|
||||
# send pls to wallet a
|
||||
if send_pls(account, wallet_a_address, send_to_wallet_a):
|
||||
logging.info("Sent {} PLS to {}".format(send_to_wallet_a, wallet_a_address))
|
||||
|
|
|
|||
Loading…
Reference in a new issue