From 770cc729639a7be7098968abc3f46460a457f6c9 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Tue, 25 Jun 2019 19:58:43 +0100
Subject: [PATCH] [mod] #235: Remove now useless check for tx amount

---
 silkaj/tx.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/silkaj/tx.py b/silkaj/tx.py
index 697db261..d0c0303c 100644
--- a/silkaj/tx.py
+++ b/silkaj/tx.py
@@ -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:
-- 
GitLab