Skip to content

Commit da4e2ae

Browse files
committed
typos
1 parent e03b55a commit da4e2ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commit/plugin.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func (p *Plugin) Observation(
244244
ctx context.Context, outCtx ocr3types.OutcomeContext, q types.Query,
245245
) (types.Observation, error) {
246246
if !p.offchainCfg.EnableDonBreakingChanges {
247-
p.lggr.Info("running observation next")
247+
p.lggr.Info("running old observation")
248248
return p.observationOld(ctx, outCtx, q)
249249
}
250250

@@ -404,7 +404,7 @@ func (p *Plugin) Outcome(
404404
ctx context.Context, outCtx ocr3types.OutcomeContext, q types.Query, aos []types.AttributedObservation,
405405
) (ocr3types.Outcome, error) {
406406
if !p.offchainCfg.EnableDonBreakingChanges {
407-
p.lggr.Info("running outcome next")
407+
p.lggr.Info("running old outcome")
408408
return p.outcomeOld(ctx, outCtx, q, aos)
409409
}
410410

@@ -490,7 +490,7 @@ func (p *Plugin) Outcome(
490490

491491
// We invalidate the cache when we detect that inflight price updates appeared on-chain.
492492
// This is because at this moment we know that prices are updated
493-
// and want to instantly sync a potentially outdated cache.
493+
// and want to instantly invalidate potentially old prices and trigger a sync operation.
494494
// Otherwise, oracles might re-observe the old prices in the next round.
495495
ctx = context.WithValue(ctx, consts.InvalidateCacheKey, invalidatePriceCache)
496496

0 commit comments

Comments
 (0)