diff options
author | stoffu <stoffu@protonmail.ch> | 2018-08-25 14:22:26 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-09-17 22:15:29 +0900 |
commit | ba8dd3479d56ff084fbc4b631548ff8cf05f60d1 (patch) | |
tree | ab6feb77026d7fdbb196104e6f95eed7c52b33c1 /tests | |
parent | Merge pull request #4381 (diff) | |
download | monero-ba8dd3479d56ff084fbc4b631548ff8cf05f60d1.tar.xz |
api/wallet: properly disable key encryption
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional_tests/transactions_flow_test.cpp | 4 | ||||
-rw-r--r-- | tests/unit_tests/multisig.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional_tests/transactions_flow_test.cpp b/tests/functional_tests/transactions_flow_test.cpp index 25dcc77bc..ffe500d21 100644 --- a/tests/functional_tests/transactions_flow_test.cpp +++ b/tests/functional_tests/transactions_flow_test.cpp @@ -138,7 +138,7 @@ bool transactions_flow_test(std::string& working_folder, return false; } - w1.init(true, daemon_addr_a); + w1.init(daemon_addr_a); uint64_t blocks_fetched = 0; bool received_money; @@ -149,7 +149,7 @@ bool transactions_flow_test(std::string& working_folder, return false; } - w2.init(true, daemon_addr_b); + w2.init(daemon_addr_b); MGINFO_GREEN("Using wallets: " << ENDL << "Source: " << w1.get_account().get_public_address_str(MAINNET) << ENDL << "Path: " << working_folder + "/" + path_source_wallet << ENDL diff --git a/tests/unit_tests/multisig.cpp b/tests/unit_tests/multisig.cpp index eb453b960..83924c7af 100644 --- a/tests/unit_tests/multisig.cpp +++ b/tests/unit_tests/multisig.cpp @@ -61,7 +61,7 @@ static void make_wallet(unsigned int idx, tools::wallet2 &wallet) try { - wallet.init(false, ""); + wallet.init(""); wallet.set_subaddress_lookahead(1, 1); wallet.generate("", "", spendkey, true, false); ASSERT_TRUE(test_addresses[idx].address == wallet.get_account().get_public_address_str(cryptonote::TESTNET)); |