diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index bb322481..4fcfe6b7 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -242,7 +242,7 @@ namespace plain_wallet ptr->postponed_main_worked_started = true; } - LOG_PRINT_L0("[INIT PLAIN_WALLET_INSTANCE] Ver:" << PROJECT_VERSION_LONG << "(" << BUILD_TYPE << ")"); + LOG_PRINT_L0("[INIT PLAIN_WALLET_INSTANCE] Ver:" << PROJECT_VERSION_LONG << "(" << BUILD_TYPE << ")" << ENDL << "Working dir: " << working_dir << ENDL << "URL: " << ip << ", port: " << port); #ifndef CAKEWALLET @@ -584,6 +584,8 @@ namespace plain_wallet GET_INSTANCE_PTR(inst_ptr); inst_ptr->gwm.set_remote_node_url(url); + LOG_PRINT_L0("[RESET URL] URL:" << url); + view::api_response ar = AUTO_VAL_INIT(ar); ar.error_code = API_RETURN_CODE_OK; return epee::serialization::store_t_to_json(ar); diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp index c03eb834..cf95e980 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -36,7 +36,8 @@ POP_VS_WARNINGS void test_plain_wallet() { //std::string res = plain_wallet::init("195.201.107.230", "33340", "C:\\Users\\roky\\home\\", 0); - std::string res = plain_wallet::init("", "", "C:\\Users\\roky\\home\\", 0); + //std::string res = plain_wallet::init("", "", "C:\\Users\\roky\\home\\", 0); + std::string res = plain_wallet::init("http://zano.api.puffin.systems", "80", "C:\\Users\\roky\\home\\", 0); //std::string res = plain_wallet::init("127.0.0.1", "12111", "C:\\Users\\roky\\home22\\", 0); plain_wallet::configure_object conf = AUTO_VAL_INIT(conf); @@ -55,7 +56,7 @@ void test_plain_wallet() epee::misc_utils::sleep_no_w(2000); - res = plain_wallet::sync_call("reset_connection_url", 0, "195.201.107.230:33336"); + //res = plain_wallet::sync_call("reset_connection_url", 0, "195.201.107.230:33336"); //res = plain_wallet::sync_call("reset_connection_url", 0, "https://node.zano.org:443"); r = plain_wallet::sync_call("run_wallet", instance_id, "");