Skip to content

Commit

Permalink
refactor(oracle)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonz789 committed Nov 12, 2024
1 parent 3919611 commit 4cc1061
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x/oracle/keeper/aggregator/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,7 @@ func (agc AggregatorContext) windowEnd(feederID, height uint64) bool {
}
delta := height - feeder.StartBaseBlock
left := delta % feeder.Interval
if left == uint64(common.MaxNonce) {
return true
}
return false
return left == uint64(common.MaxNonce)
}

func (agc *AggregatorContext) RemoveWorker(feederID uint64) {
Expand Down

0 comments on commit 4cc1061

Please sign in to comment.