aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/hardfork.cpp
diff options
context:
space:
mode:
authorhyc <hyc@symas.com>2015-12-27 08:44:18 +0000
committerhyc <hyc@symas.com>2015-12-27 08:44:18 +0000
commitfc341325a795f837a7fa8396272fb7f8dd0a6ebe (patch)
tree799eca62e81280b2ec3dc7f92b37611f72423910 /src/cryptonote_core/hardfork.cpp
parentMerge pull request #565 (diff)
downloadmonero-fc341325a795f837a7fa8396272fb7f8dd0a6ebe.tar.xz
Remove assert from status command
Crashes every time...
Diffstat (limited to 'src/cryptonote_core/hardfork.cpp')
-rw-r--r--src/cryptonote_core/hardfork.cpp2
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;