fix build warning about unreachable code
@@ -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"),
}
}
