wallet2: make --restricted-rpc available for wallet RPC only

This commit is contained in:
stoffu 2018-07-30 14:38:55 +09:00
parent 4d66939791
commit a64f57fe42
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012
8 changed files with 48 additions and 51 deletions

View file

@ -671,8 +671,7 @@ TEST(Serialization, serializes_ringct_types)
TEST(Serialization, portability_wallet)
{
const cryptonote::network_type nettype = cryptonote::TESTNET;
const bool restricted = false;
tools::wallet2 w(nettype, restricted);
tools::wallet2 w(nettype);
const boost::filesystem::path wallet_file = unit_test::data_dir / "wallet_9svHk1";
string password = "test";
bool r = false;