mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
fix build warning about unreachable code (#519)
This commit is contained in:
parent
b37820bd40
commit
ea752d509b
1 changed files with 3 additions and 6 deletions
|
@ -510,9 +510,6 @@ fn wallet_command(wallet_args: &ArgMatches, global_config: GlobalConfig) {
|
||||||
("restore", Some(_)) => {
|
("restore", Some(_)) => {
|
||||||
let _=wallet::restore(&wallet_config, &keychain, key_derivations);
|
let _=wallet::restore(&wallet_config, &keychain, key_derivations);
|
||||||
}
|
}
|
||||||
("receive", Some(_)) => {
|
|
||||||
panic!("Command 'receive' is depreciated, use 'listen' instead");
|
|
||||||
}
|
|
||||||
_ => panic!("Unknown wallet command, use 'grin help wallet' for details"),
|
_ => panic!("Unknown wallet command, use 'grin help wallet' for details"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue