aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-15 20:11:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-15 20:11:54 -0500
commitb780cf4db1f9dfc49e7f16afc47892a5b40fe68a (patch)
treeca327c88c272d3f8087c793f15833e656039e820 /tests/unit_tests
parentMerge pull request #4196 (diff)
parentwallet2: make --restricted-rpc available for wallet RPC only (diff)
downloadmonero-b780cf4db1f9dfc49e7f16afc47892a5b40fe68a.tar.xz
Merge pull request #4191
a64f57f wallet2: make --restricted-rpc available for wallet RPC only (stoffu)
Diffstat (limited to 'tests/unit_tests')
-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;