Skip to content

Commit

Permalink
Set m_height to 0, revert didn't revert this.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doy-lee committed Sep 19, 2018
1 parent 4f6c0d0 commit 3a46efb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/cryptonote_core/service_node_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1004,14 +1004,7 @@ namespace service_nodes
}

m_quorum_states.clear();

uint64_t hardfork_9_height = 0;
{
uint32_t window, votes, threshold;
uint8_t voting;
m_blockchain.get_hard_fork_voting_info(9, window, votes, threshold, hardfork_9_height, voting);
}
m_height = hardfork_9_height;
m_height = 0;
}

bool convert_registration_args(cryptonote::network_type nettype, std::vector<std::string> args, std::vector<cryptonote::account_public_address>& addresses, std::vector<uint64_t>& portions, uint64_t& portions_for_operator, bool& autostake)
Expand Down

0 comments on commit 3a46efb

Please sign in to comment.