Skip to content

Commit

Permalink
CCIP-1147 - Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnaud committed Oct 12, 2023
1 parent c7c6b8a commit ea8c893
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/services/ocr2/plugins/ccip/price_updates_cache.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package ccip

import (
"time"
)

type priceUpdatesCache struct {
lastUpdate update
}
Expand All @@ -14,14 +10,6 @@ func newPriceUpdatesCache() *priceUpdatesCache {
}
}

func (c *priceUpdatesCache) containsData() bool {
return c.lastUpdate.timestamp != time.Time{}
}

func (c *priceUpdatesCache) lastCheckpoint() time.Time {
return c.lastUpdate.timestamp
}

func (c *priceUpdatesCache) get() update {
return c.lastUpdate
}
Expand Down

0 comments on commit ea8c893

Please sign in to comment.