Taxes minimum

This commit is contained in:
nyanloutre 2017-10-05 23:22:04 +02:00
parent 2d69591b38
commit 26996c04d2
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063
1 changed files with 2 additions and 2 deletions

4
run.py
View File

@ -54,7 +54,7 @@ def transaction(sender, receiver, amount):
try:
if get_balance(sender)[0] > amount:
address_receiver = get_address(receiver)
return block_io.withdraw_from_labels(amounts=amount, from_labels=sender, to_labels=receiver)
return block_io.withdraw_from_labels(amounts=amount, from_labels=sender, to_labels=receiver, priority="low")
else:
return "Pas assez de doge"
except NoAccountError as e:
@ -65,7 +65,7 @@ def transaction(sender, receiver, amount):
def address_transaction(account, address, amount):
try:
if get_balance(account)[0] > amount:
return block_io.withdraw_from_labels(amounts=amount, from_labels=account, to_addresses=address)
return block_io.withdraw_from_labels(amounts=amount, from_labels=account, to_addresses=address, priority="low")
else:
return "Pas assez de doge"
except NoAccountError as e: