aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWuxiang <wuxiangzhou2010@gmail.com>2018-09-21 18:45:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-09-21 18:45:42 +0800
commit81080bf8cb7f60f59a68cf48998a29a1a2e10cb9 (patch)
tree8582a330c40f2287eb57c97db6e05bdd30842e79
parent1a16cc71c68e4af86329fc95286152b71f98d0b1 (diff)
downloaddexon-81080bf8cb7f60f59a68cf48998a29a1a2e10cb9.tar.gz
dexon-81080bf8cb7f60f59a68cf48998a29a1a2e10cb9.tar.zst
dexon-81080bf8cb7f60f59a68cf48998a29a1a2e10cb9.zip
core: fix a typo (#17733)
-rw-r--r--core/tx_pool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index a0a6ff851..f6da5da2a 100644
--- a/core/tx_pool.go
+++ b/core/tx_pool.go
@@ -525,7 +525,7 @@ func (pool *TxPool) Content() (map[common.Address]types.Transactions, map[common
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
// freely modified by calling code.
func (pool *TxPool) Pending() (map[common.Address]types.Transactions, error) {
@@ -547,7 +547,7 @@ func (pool *TxPool) Locals() []common.Address {
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
// freely modified by calling code.
func (pool *TxPool) local() map[common.Address]types.Transactions {