Skip to content

Commit 0cb27e3

Browse files
j-bermanselsta
andauthored
Update src/hardforks/hardforks.cpp
Co-authored-by: selsta <selsta@users.noreply.github.com>
1 parent f6ebd47 commit 0cb27e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hardforks/hardforks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ bool check_fork_version_compatibility(
141141
{
142142
const size_t client_num_hard_forks = nettype == cryptonote::network_type::TESTNET ? num_testnet_hard_forks
143143
: 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
144+
const hardfork_t *client_hard_forks = nettype == cryptonote::network_type::TESTNET ? testnet_hard_forks
145145
: nettype == cryptonote::network_type::STAGENET ? stagenet_hard_forks : mainnet_hard_forks;
146146

147147
// Make sure we're pointing to an FCMP++ compatible daemon in order for client

0 commit comments

Comments
 (0)