diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-25 22:21:20 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-05-25 22:22:45 +0800 |
commit | c98bce709c392f3b469f956b5f66f095a30a7e2b (patch) | |
tree | 6abc554b343b8f68e76b7303e652f22f89e47d5e /core/tx_pool.go | |
parent | 17f0b1194232ebebc4e14f905e6e1d2d148aa5b6 (diff) | |
download | go-tangerine-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.gz go-tangerine-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.zst go-tangerine-c98bce709c392f3b469f956b5f66f095a30a7e2b.zip |
core: fix minor accidental typos and comment errors
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r-- | core/tx_pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go index 228563ed0..6f67aaa0a 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -209,7 +209,7 @@ func (pool *TxPool) resetState() { pool.promoteExecutables(currentState) } -// Stop stops a TxPool +// Stop terminates the transaction pool. func (pool *TxPool) Stop() { pool.events.Unsubscribe() close(pool.quit) @@ -239,7 +239,7 @@ func (pool *TxPool) SetGasPrice(price *big.Int) { log.Info("Transaction pool price threshold updated", "price", price) } -// State returns the state of TxPool +// State returns the virtual managed state of the transaction pool. func (pool *TxPool) State() *state.ManagedState { pool.mu.RLock() defer pool.mu.RUnlock() |