mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-03 12:33:13 +00:00
Remove assert from status command
Crashes every time...
This commit is contained in:
parent
95ceb715dc
commit
fc341325a7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue