There was an error while loading. Please reload this page.
1 parent f6ebd47 commit 0cb27e3Copy full SHA for 0cb27e3
1 file changed
src/hardforks/hardforks.cpp
@@ -141,7 +141,7 @@ bool check_fork_version_compatibility(
141
{
142
const size_t client_num_hard_forks = nettype == cryptonote::network_type::TESTNET ? num_testnet_hard_forks
143
: nettype == cryptonote::network_type::STAGENET ? num_stagenet_hard_forks : num_mainnet_hard_forks;
144
- const hardfork_t *client_hard_forks = cryptonote::network_type::TESTNET ? testnet_hard_forks
+ const hardfork_t *client_hard_forks = nettype == cryptonote::network_type::TESTNET ? testnet_hard_forks
145
: nettype == cryptonote::network_type::STAGENET ? stagenet_hard_forks : mainnet_hard_forks;
146
147
// Make sure we're pointing to an FCMP++ compatible daemon in order for client
0 commit comments