From 78c29bf441f6c361254bbba4c3dc5460d28d89af Mon Sep 17 00:00:00 2001 From: Oscar Pepper Date: Tue, 2 Apr 2024 13:45:39 +0100 Subject: [PATCH] fix arg logic in send command --- zingolib/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zingolib/src/commands.rs b/zingolib/src/commands.rs index 180c680ad6..1c5934eeae 100644 --- a/zingolib/src/commands.rs +++ b/zingolib/src/commands.rs @@ -952,7 +952,7 @@ impl Command for SendCommand { // Parse the args. There are two argument types. // 1 - A set of 2(+1 optional) arguments for a single address send representing address, value, memo? // 2 - A single argument in the form of a JSON string that is "[{address: address, value: value, memo: memo},...]" - if args.is_empty() || args.len() > 3 { + if !args.is_empty() { return self.help().to_string(); }