mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
fix for password in listen command (#2090)
This commit is contained in:
parent
40ccb32be2
commit
995c5a38e5
1 changed files with 1 additions and 1 deletions
|
@ -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)),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue