core: fix some small typos on comment code (#17278)

This commit is contained in:
Ha ĐANG
2018-07-30 18:10:48 +07:00
committed by Péter Szilágyi
parent 7b1aa64220
commit 2cffd4ff3c
3 changed files with 3 additions and 3 deletions

View File

@ -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