Commit 1aa09de8 authored by Moul's avatar Moul

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

parent 2f32d914
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment