mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +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,
|
args: &ArgMatches,
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
// listen args
|
// listen args
|
||||||
let pass = match args.value_of("pass") {
|
let pass = match g_args.password.clone() {
|
||||||
Some(p) => Some(p.to_owned()),
|
Some(p) => Some(p.to_owned()),
|
||||||
None => Some(prompt_password(&None)),
|
None => Some(prompt_password(&None)),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue