core/txpool/legacypool: fix typo

This commit is contained in:
Martin Holst Swende 2024-03-08 12:09:05 +01:00
parent a249b78774
commit 7e1d704c1d
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -472,7 +472,7 @@ func (l *list) Flatten() types.Transactions {
return l.txs.Flatten() return l.txs.Flatten()
} }
// AppendHashes flattens a nonce-sorted slice of transcations, and appends // AppendHashes flattens a nonce-sorted slice of transacstions, and appends
// the hashes to dst. The destination slice might be reallocated, and is returned. // the hashes to dst. The destination slice might be reallocated, and is returned.
func (l *list) AppendHashes(dst []common.Hash) []common.Hash { func (l *list) AppendHashes(dst []common.Hash) []common.Hash {
return l.txs.AppendHashes(dst) return l.txs.AppendHashes(dst)