Skip to content

Commit 38fedd4

Browse files
authored
Fix flaky AWS CI pipeline (#260)
1 parent a58e5e1 commit 38fedd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/hammer/loadtest/workers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func (v *MMDVerifier) Run(ctx context.Context) {
335335
// Update the checkpoint and proof builder only if needed, so the node
336336
// cache in the proof builder can be effectively used to improve the
337337
// performance.
338-
if leafMMD.index >= checkpoint.Size && checkpoint.Size < v.tracker.LatestConsistent.Size {
338+
if (leafMMD.index >= checkpoint.Size && checkpoint.Size < v.tracker.LatestConsistent.Size) || proofBuilder == nil {
339339
checkpoint = v.tracker.LatestConsistent
340340

341341
var err error

0 commit comments

Comments
 (0)