core: fix typos (#15720)
This commit is contained in:
committed by
Péter Szilágyi
parent
da58afcea0
commit
b4cf57a581
@ -103,7 +103,7 @@ var (
|
||||
underpricedTxCounter = metrics.NewCounter("txpool/underpriced")
|
||||
)
|
||||
|
||||
// TxStatus is the current status of a transaction as seen py the pool.
|
||||
// TxStatus is the current status of a transaction as seen by the pool.
|
||||
type TxStatus uint
|
||||
|
||||
const (
|
||||
@ -199,7 +199,7 @@ type TxPool struct {
|
||||
pendingState *state.ManagedState // Pending state tracking virtual nonces
|
||||
currentMaxGas *big.Int // Current gas limit for transaction caps
|
||||
|
||||
locals *accountSet // Set of local transaction to exepmt from evicion rules
|
||||
locals *accountSet // Set of local transaction to exempt from eviction rules
|
||||
journal *txJournal // Journal of local transaction to back up to disk
|
||||
|
||||
pending map[common.Address]*txList // All currently processable transactions
|
||||
@ -214,7 +214,7 @@ type TxPool struct {
|
||||
}
|
||||
|
||||
// NewTxPool creates a new transaction pool to gather, sort and filter inbound
|
||||
// trnsactions from the network.
|
||||
// transactions from the network.
|
||||
func NewTxPool(config TxPoolConfig, chainconfig *params.ChainConfig, chain blockChain) *TxPool {
|
||||
// Sanitize the input to ensure no vulnerable gas prices are set
|
||||
config = (&config).sanitize()
|
||||
|
Reference in New Issue
Block a user