Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix monte-carlo checkload
Browse files Browse the repository at this point in the history
SpyCheese committed Oct 14, 2024
1 parent 8b7d6be commit 9faa233
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lite-client/lite-client.cpp
Original file line number Diff line number Diff line change
@@ -3864,7 +3864,10 @@ void TestNode::continue_check_validator_load4(std::unique_ptr<TestNode::Validato
LOG(ERROR) << "failed to compute shard shares";
return;
}
mtc_shard_share.assign(mtc.weights_array(), mtc.weights_array() + mtc.size());
mtc_shard_share.resize(count);
for (size_t i = 0; i < count; ++i) {
mtc_shard_share[i] = mtc[i];
}
}

auto validators = info1->vset->export_validator_set();

0 comments on commit 9faa233

Please sign in to comment.