mirror of
https://github.com/monero-project/monero.git
synced 2025-05-19 23:40:27 -04:00
commit
3b53db47cf
4 changed files with 4 additions and 4 deletions
|
@ -375,7 +375,7 @@ TEST(voting, threshold)
|
|||
db.add_block(mkblock(hf, h, v), 0, 0, 0, 0, 0, crypto::hash());
|
||||
bool ret = hf.add(db.get_block_from_height(h), h);
|
||||
if (h >= 8 && threshold == 87) {
|
||||
// for threshold 87, we reach the treshold at height 7, so from height 8, hard fork to version 2, but 8 tries to add 1
|
||||
// for threshold 87, we reach the threshold at height 7, so from height 8, hard fork to version 2, but 8 tries to add 1
|
||||
ASSERT_FALSE(ret);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue