diff options
author | Kurkó Mihály <kurkomisi@users.noreply.github.com> | 2017-12-21 01:08:51 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-12-21 01:08:51 +0800 |
commit | b4cf57a58190a7aa81a93d5653571651dd2909d5 (patch) | |
tree | f4cc3ebe03b41e820de20d2e278d63019188a893 /core/tx_pool.go | |
parent | da58afcea0525fab2d3f45f58e7e243a15407ab9 (diff) | |
download | dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar.gz dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar.bz2 dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar.lz dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar.xz dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.tar.zst dexon-b4cf57a58190a7aa81a93d5653571651dd2909d5.zip |
core: fix typos (#15720)
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r-- | core/tx_pool.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go index 541004300..e2f102db4 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -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() |