From 1e9574f78bf64a64cbd41bc51f616001b32dfb10 Mon Sep 17 00:00:00 2001 From: Alexander Suprunenko Date: Wed, 29 May 2019 01:56:41 +0300 Subject: [PATCH] Build fix --- src/supernode/requests/auth_sample_disqualificator.cpp | 2 +- src/supernode/requests/blockchain_based_list.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supernode/requests/auth_sample_disqualificator.cpp b/src/supernode/requests/auth_sample_disqualificator.cpp index c12ddb88..b0d6b1ba 100644 --- a/src/supernode/requests/auth_sample_disqualificator.cpp +++ b/src/supernode/requests/auth_sample_disqualificator.cpp @@ -349,7 +349,7 @@ class AuthSDisqualificatorImpl : public AuthSDisqualificator, public BBLDisquali //create wallet std::string addr = ctx.global["cryptonode_rpc_address"]; bool testnet = ctx.global["testnet"]; - tools::wallet2 wallet(testnet); + tools::wallet2 wallet(testnet? cryptonote::TESTNET : cryptonote::MAINNET); wallet.init(addr); wallet.set_refresh_from_block_height(coll.di.item.block_height); wallet.set_seed_language("English"); diff --git a/src/supernode/requests/blockchain_based_list.cpp b/src/supernode/requests/blockchain_based_list.cpp index 6b3945f9..fb76d3cf 100644 --- a/src/supernode/requests/blockchain_based_list.cpp +++ b/src/supernode/requests/blockchain_based_list.cpp @@ -717,7 +717,7 @@ class BBLDisqualificator : public BBLDisqualificatorBase //create wallet std::string addr = ctx.global["cryptonode_rpc_address"]; bool testnet = ctx.global["testnet"]; - tools::wallet2 wallet(testnet); + tools::wallet2 wallet(testnet? cryptonote::TESTNET : cryptonote::MAINNET); wallet.init(addr); wallet.set_refresh_from_block_height(m_block_height); wallet.set_seed_language("English");