Skip to content
Snippets Groups Projects
Commit 1aa09de8 authored by Moul's avatar Moul
Browse files

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

parent 2f32d914
No related branches found
No related tags found
1 merge request!146Merge dev into master branch to complete v0.8.0 development cycle
......@@ -121,11 +121,8 @@ async def send_transaction(
async def transaction_amount(amount, amountUD, allSources):
"""
Check command line interface amount option
Return transaction amount
"""
if not (amount or amountUD or allSources):
message_exit("--amount nor --amountUD nor --allSources is set")
if amount:
return round(amount * 100)
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