Skip to content

Commit

Permalink
Change comment wording
Browse files Browse the repository at this point in the history
Co-authored-by: Karl Bartel <[email protected]>
  • Loading branch information
ezdac and karlb authored May 14, 2024
1 parent 545e43e commit dc37292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/celoapi/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ func NewCeloBackend(b ethapi.Backend) *CeloBackend {
// having to change their call signature significantly.
// CeloBackend keeps a threadsafe LRU cache of block-hash to exchange rates for that block.
// Cache invalidation is only a problem when an already existing blocks' hash
// doesn't change, but the rates change. That shouldn't be possible, since changing the rates
// doesn't change, but the rates change. That isn't possible, since changing the rates
// requires different transaction hashes / state and thus a different block hash.
// If the previous rates change during a reorg, the previous block hash should also change
// If the previous rates change during a reorg, the previous block hash will also change
// and with it the new block's hash.
// Stale branches cache values will get evicted eventually.
type CeloBackend struct {
Expand Down

0 comments on commit dc37292

Please sign in to comment.