Skip to content

Commit

Permalink
Merge pull request #448 from Doy-lee/dev
Browse files Browse the repository at this point in the history
Fix network_version type
  • Loading branch information
Doy-lee authored Feb 27, 2019
2 parents b3b1869 + 9b1dd51 commit 42eb62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/service_node_quorum_cop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace service_nodes
int version = m_core.get_hard_fork_version(height);

// NOTE: Only care about major version for now
if (version == cryptonote::network_version_11_infinite_staking_bulletproofs && proof.snode_version_major < 3)
if (version == cryptonote::network_version_11_infinite_staking && proof.snode_version_major < 3)
return false;
else if (version == cryptonote::network_version_10_bulletproofs && proof.snode_version_major < 2)
return false;
Expand Down

0 comments on commit 42eb62e

Please sign in to comment.