From 995c5a38e5a25c0c815d90179cb09438c24988af Mon Sep 17 00:00:00 2001 From: Yeastplume Date: Thu, 6 Dec 2018 16:26:20 +0000 Subject: [PATCH] fix for password in listen command (#2090) --- wallet/src/command_args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/command_args.rs b/wallet/src/command_args.rs index 68582223d..74482c758 100644 --- a/wallet/src/command_args.rs +++ b/wallet/src/command_args.rs @@ -199,7 +199,7 @@ pub fn parse_listen_args( args: &ArgMatches, ) -> Result<(), Error> { // listen args - let pass = match args.value_of("pass") { + let pass = match g_args.password.clone() { Some(p) => Some(p.to_owned()), None => Some(prompt_password(&None)), };