diff options
author | haouvw <jchaodaohang@foxmail.com> | 2024-06-26 15:42:27 +0800 |
---|---|---|
committer | haouvw <jchaodaohang@foxmail.com> | 2024-07-11 14:56:25 +0800 |
commit | 1d024f07019d320883cbeaa6a160d849bb5fe589 (patch) | |
tree | 474a8efb13630dae02b12cb187a8f3a98216d7a2 /tests/unit_tests/hardfork.cpp | |
parent | Merge pull request #9202 (diff) | |
download | monero-1d024f07019d320883cbeaa6a160d849bb5fe589.tar.xz |
chore: fix some comments
Signed-off-by: haouvw <jchaodaohang@foxmail.com>
Diffstat (limited to 'tests/unit_tests/hardfork.cpp')
-rw-r--r-- | tests/unit_tests/hardfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/hardfork.cpp b/tests/unit_tests/hardfork.cpp index e6602bdb3..b7e2ae29a 100644 --- a/tests/unit_tests/hardfork.cpp +++ b/tests/unit_tests/hardfork.cpp @@ -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 { |