aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_list.go
diff options
context:
space:
mode:
authorHa ĐANG <dvietha@gmail.com>2018-07-30 19:10:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-30 19:10:48 +0800
commit2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b (patch)
tree886557e387bf8e7b7bef78bd693267d7ea455d2d /core/tx_list.go
parent7b1aa642201170627dd6f3d4d96701fdd068bf80 (diff)
downloaddexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar.gz
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar.bz2
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar.lz
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar.xz
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.tar.zst
dexon-2cffd4ff3c6643e374e34bccd8d68cb52d7d4c8b.zip
core: fix some small typos on comment code (#17278)
Diffstat (limited to 'core/tx_list.go')
-rw-r--r--core/tx_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tx_list.go b/core/tx_list.go
index 287dda4c3..57abc5148 100644
--- a/core/tx_list.go
+++ b/core/tx_list.go
@@ -436,7 +436,7 @@ func (l *txPricedList) Removed() {
}
// Cap finds all the transactions below the given price threshold, drops them
-// from the priced list and returs them for further removal from the entire pool.
+// from the priced list and returns them for further removal from the entire pool.
func (l *txPricedList) Cap(threshold *big.Int, local *accountSet) types.Transactions {
drop := make(types.Transactions, 0, 128) // Remote underpriced transactions to drop
save := make(types.Transactions, 0, 64) // Local underpriced transactions to keep