diff --git a/programs/cli_wallet/main.cpp b/programs/cli_wallet/main.cpp index 794374b2..040b6fac 100644 --- a/programs/cli_wallet/main.cpp +++ b/programs/cli_wallet/main.cpp @@ -77,9 +77,8 @@ int main( int argc, char** argv ) ("rpc-tls-endpoint,t", bpo::value()->implicit_value("127.0.0.1:8092"), "Endpoint for wallet websocket TLS RPC to listen on") ("rpc-tls-certificate,c", bpo::value()->implicit_value("server.pem"), "PEM certificate for wallet websocket TLS RPC") ("rpc-http-endpoint,H", bpo::value()->implicit_value("127.0.0.1:8093"), "Endpoint for wallet HTTP RPC to listen on") - ("unlock", bpo::value(), "Password to automatically unlock wallet with") ("daemon,d", "Run the wallet in daemon mode" ) - ("wallet-file,W", bpo::value()->implicit_value("wallet.json"), "wallet to load") + ("wallet-file,w", bpo::value()->implicit_value("wallet.json"), "wallet to load") ("chain-id", bpo::value(), "chain ID to connect to"); bpo::variables_map options; @@ -255,9 +254,6 @@ int main( int argc, char** argv ) conn->on_request( req, resp ); } ); } - if( options.count("unlock" ) ) { - wapi->unlock( options.at("unlock").as() ); - } if( !options.count( "daemon" ) ) {