Skip to content

Commit b5e0379

Browse files
committed
fix: nil transaction returned from cache
Signed-off-by: Enrique Lacal <[email protected]>
1 parent bda9be3 commit b5e0379

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/operations/operation_updater.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ func (ou *operationUpdater) doBatchUpdate(ctx context.Context, updates []*core.O
270270
if err != nil {
271271
return err
272272
}
273-
transactions = append(transactions, transaction)
273+
if transaction != nil {
274+
transactions = append(transactions, transaction)
275+
}
274276
}
275277
}
276278

0 commit comments

Comments
 (0)