Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSuprunenko committed May 28, 2019
1 parent 86dd60c commit 1e9574f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/supernode/requests/auth_sample_disqualificator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/supernode/requests/blockchain_based_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 1e9574f

Please sign in to comment.