We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58e5e1 commit 38fedd4Copy full SHA for 38fedd4
internal/hammer/loadtest/workers.go
@@ -335,7 +335,7 @@ func (v *MMDVerifier) Run(ctx context.Context) {
335
// Update the checkpoint and proof builder only if needed, so the node
336
// cache in the proof builder can be effectively used to improve the
337
// performance.
338
- if leafMMD.index >= checkpoint.Size && checkpoint.Size < v.tracker.LatestConsistent.Size {
+ if (leafMMD.index >= checkpoint.Size && checkpoint.Size < v.tracker.LatestConsistent.Size) || proofBuilder == nil {
339
checkpoint = v.tracker.LatestConsistent
340
341
var err error
0 commit comments