Revert "adding ability to pass wallet password on CLI"

This reverts commit dad47e29fb.
This commit is contained in:
theoreticalbts 2016-03-04 10:58:54 -05:00
parent 24e132112d
commit 6189ebb86c

View file

@ -77,9 +77,8 @@ int main( int argc, char** argv )
("rpc-tls-endpoint,t", bpo::value<string>()->implicit_value("127.0.0.1:8092"), "Endpoint for wallet websocket TLS RPC to listen on")
("rpc-tls-certificate,c", bpo::value<string>()->implicit_value("server.pem"), "PEM certificate for wallet websocket TLS RPC")
("rpc-http-endpoint,H", bpo::value<string>()->implicit_value("127.0.0.1:8093"), "Endpoint for wallet HTTP RPC to listen on")
("unlock", bpo::value<string>(), "Password to automatically unlock wallet with")
("daemon,d", "Run the wallet in daemon mode" )
("wallet-file,W", bpo::value<string>()->implicit_value("wallet.json"), "wallet to load")
("wallet-file,w", bpo::value<string>()->implicit_value("wallet.json"), "wallet to load")
("chain-id", bpo::value<string>(), "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<string>() );
}
if( !options.count( "daemon" ) )
{