aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/serialization.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-07-30 14:38:55 +0900
committerstoffu <stoffu@protonmail.ch>2018-08-16 09:54:23 +0900
commita64f57fe42292720415a507feb4f543ef3c3adbe (patch)
treeca327c88c272d3f8087c793f15833e656039e820 /tests/unit_tests/serialization.cpp
parentMerge pull request #4196 (diff)
downloadmonero-a64f57fe42292720415a507feb4f543ef3c3adbe.tar.xz
wallet2: make --restricted-rpc available for wallet RPC only
Diffstat (limited to 'tests/unit_tests/serialization.cpp')
-rw-r--r--tests/unit_tests/serialization.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp
index 40616059a..5bec280b1 100644
--- a/tests/unit_tests/serialization.cpp
+++ b/tests/unit_tests/serialization.cpp
@@ -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;