eth: improve log message (#22146)

* eth: fixed typos

* eth: fixed log message
This commit is contained in:
Marius van der Wijden
2021-01-11 12:53:13 +01:00
committed by GitHub
parent 79e2174e4d
commit 49c2816d54
2 changed files with 5 additions and 5 deletions

View File

@ -243,9 +243,9 @@ func (ps *peerSet) ethPeersWithoutBlock(hash common.Hash) []*ethPeer {
return list
}
// ethPeersWithoutTransacion retrieves a list of `eth` peers that do not have a
// ethPeersWithoutTransaction retrieves a list of `eth` peers that do not have a
// given transaction in their set of known hashes.
func (ps *peerSet) ethPeersWithoutTransacion(hash common.Hash) []*ethPeer {
func (ps *peerSet) ethPeersWithoutTransaction(hash common.Hash) []*ethPeer {
ps.lock.RLock()
defer ps.lock.RUnlock()