Skip to content
Snippets Groups Projects
Commit 770cc729 authored by Moul's avatar Moul
Browse files

[mod] #235: Remove now useless check for tx amount

parent d518ff94
No related branches found
No related tags found
No related merge requests found
...@@ -121,11 +121,8 @@ async def send_transaction( ...@@ -121,11 +121,8 @@ async def send_transaction(
async def transaction_amount(amount, amountUD, allSources): async def transaction_amount(amount, amountUD, allSources):
""" """
Check command line interface amount option
Return transaction amount Return transaction amount
""" """
if not (amount or amountUD or allSources):
message_exit("--amount nor --amountUD nor --allSources is set")
if amount: if amount:
return round(amount * 100) return round(amount * 100)
if amountUD: if amountUD:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment