Skip to content

Commit

Permalink
Fix bug where ValidAfterSeconds is wrong (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsondav authored Oct 8, 2024
1 parent 4339141 commit 06ab16d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions llo/plugin_outcome.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,9 @@ func (p *Plugin) outcome(outctx ocr3types.OutcomeContext, query types.Query, aos
if p.Config.VerboseLogging {
p.Logger.Debugw("Channel is not reportable", "channelID", channelID, "err", err3, "stage", "Outcome", "seqNr", outctx.SeqNr)
}
// was reported based on previous outcome
outcome.ValidAfterSeconds[channelID] = previousObservationsTimestampSeconds
} else {
// was skipped based on previous outcome
outcome.ValidAfterSeconds[channelID] = previousValidAfterSeconds
} else {
outcome.ValidAfterSeconds[channelID] = previousObservationsTimestampSeconds
}
}
}
Expand Down

0 comments on commit 06ab16d

Please sign in to comment.