fix: typo in src/test/merkle_tests.cpp

This commit is contained in:
oliveredget 2025-01-01 15:59:41 +08:00
parent 6144c75abe
commit e34cd76e1f
No known key found for this signature in database
GPG Key ID: FC23EA5AECCBE0C0

View File

@ -117,7 +117,7 @@ BOOST_AUTO_TEST_CASE(merkle_test)
// If no mutation was done (once for every ntx value), try up to 16 branches.
if (mutate == 0) {
for (int loop = 0; loop < std::min(ntx, 16); loop++) {
// If ntx <= 16, try all branches. Otherise, try 16 random ones.
// If ntx <= 16, try all branches. Otherwise, try 16 random ones.
int mtx = loop;
if (ntx > 16) {
mtx = InsecureRandRange(ntx);