diff --git a/txcache/crossTxCache.go b/txcache/crossTxCache.go index 6749630e..e39723e4 100644 --- a/txcache/crossTxCache.go +++ b/txcache/crossTxCache.go @@ -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 diff --git a/txcache/txCache.go b/txcache/txCache.go index 92c60c0c..fe6f37f3 100644 --- a/txcache/txCache.go +++ b/txcache/txCache.go @@ -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)