fix build warning about unreachable code (#519)

This commit is contained in:
AntiochP 2017-12-18 20:33:27 -05:00 committed by GitHub
parent b37820bd40
commit ea752d509b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -510,9 +510,6 @@ fn wallet_command(wallet_args: &ArgMatches, global_config: GlobalConfig) {
("restore", Some(_)) => {
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"),
}
}