Commit 81080bf8 authored by Wuxiang's avatar Wuxiang Committed by Péter Szilágyi

core: fix a typo (#17733)

parent 1a16cc71
...@@ -525,7 +525,7 @@ func (pool *TxPool) Content() (map[common.Address]types.Transactions, map[common ...@@ -525,7 +525,7 @@ func (pool *TxPool) Content() (map[common.Address]types.Transactions, map[common
return pending, queued return pending, queued
} }
// Pending retrieves all currently processable transactions, groupped by origin // Pending retrieves all currently processable transactions, grouped by origin
// account and sorted by nonce. The returned transaction set is a copy and can be // account and sorted by nonce. The returned transaction set is a copy and can be
// freely modified by calling code. // freely modified by calling code.
func (pool *TxPool) Pending() (map[common.Address]types.Transactions, error) { func (pool *TxPool) Pending() (map[common.Address]types.Transactions, error) {
...@@ -547,7 +547,7 @@ func (pool *TxPool) Locals() []common.Address { ...@@ -547,7 +547,7 @@ func (pool *TxPool) Locals() []common.Address {
return pool.locals.flatten() return pool.locals.flatten()
} }
// local retrieves all currently known local transactions, groupped by origin // local retrieves all currently known local transactions, grouped by origin
// account and sorted by nonce. The returned transaction set is a copy and can be // account and sorted by nonce. The returned transaction set is a copy and can be
// freely modified by calling code. // freely modified by calling code.
func (pool *TxPool) local() map[common.Address]types.Transactions { func (pool *TxPool) local() map[common.Address]types.Transactions {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment