Skip to content

Commit

Permalink
Fix after review.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Nov 13, 2024
1 parent 8cd2eb0 commit fa41478
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion txcache/crossTxCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func (cache *CrossTxCache) NotifyAccountNonce(_ []byte, _ uint64) {

// ForgetAllAccountNonces does nothing, only to respect the interface
func (cache *CrossTxCache) ForgetAllAccountNonces() {
log.Error("CrossTxCache.ForgetAllAccountNonces is not implemented")
}

// IsInterfaceNil returns true if there is no value under the interface
Expand Down
2 changes: 1 addition & 1 deletion txcache/txCache.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (cache *TxCache) NotifyAccountNonce(accountKey []byte, nonce uint64) {
}

// ForgetAllAccountNonces clears all known account nonces.
// Generally speaking, should be called when a block is reverted.
// Should be called when a block is reverted.
func (cache *TxCache) ForgetAllAccountNonces() {
log.Debug("TxCache.ForgetAllAccountNonces", "name", cache.name)

Expand Down

0 comments on commit fa41478

Please sign in to comment.