diff options
author | hyc <hyc@symas.com> | 2015-12-27 08:44:18 +0000 |
---|---|---|
committer | hyc <hyc@symas.com> | 2015-12-27 08:44:18 +0000 |
commit | fc341325a795f837a7fa8396272fb7f8dd0a6ebe (patch) | |
tree | 799eca62e81280b2ec3dc7f92b37611f72423910 /src/cryptonote_core | |
parent | Merge pull request #565 (diff) | |
download | monero-fc341325a795f837a7fa8396272fb7f8dd0a6ebe.tar.xz |
Remove assert from status command
Crashes every time...
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/hardfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/hardfork.cpp b/src/cryptonote_core/hardfork.cpp index 9bd4a337c..937263512 100644 --- a/src/cryptonote_core/hardfork.cpp +++ b/src/cryptonote_core/hardfork.cpp @@ -375,7 +375,7 @@ bool HardFork::get_voting_info(uint8_t version, uint32_t &window, uint32_t &vote for (size_t n = version; n < 256; ++n) votes += last_versions[n]; threshold = (window * heights[current_version].threshold + 99) / 100; - assert((votes >= threshold) == enabled); + //assert((votes >= threshold) == enabled); earliest_height = get_earliest_ideal_height_for_version(version); voting = heights.back().version; return enabled; |