aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRicardo Domingos <ricardohsd@gmail.com>2017-11-24 17:20:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-24 17:20:01 +0800
commit9ff9d04a6906cdb941f6797e63b9da7536316b64 (patch)
tree5fbf2102372237cdf386afde5fedcb483532f71b /core
parentedc3e0efeb7f07872bc4bc042433c7135297a5ed (diff)
downloaddexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.gz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.bz2
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.lz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.xz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.zst
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.zip
all: fix code comment typos (#15547)
* console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
Diffstat (limited to 'core')
-rw-r--r--core/chain_indexer.go2
-rw-r--r--core/tx_pool_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_indexer.go b/core/chain_indexer.go
index 7e7500dc8..7fb184aaa 100644
--- a/core/chain_indexer.go
+++ b/core/chain_indexer.go
@@ -230,7 +230,7 @@ func (c *ChainIndexer) newHead(head uint64, reorg bool) {
if changed < c.storedSections {
c.setValidSections(changed)
}
- // Update the new head number to te finalized section end and notify children
+ // Update the new head number to the finalized section end and notify children
head = changed * c.sectionSize
if head < c.cascadedHead {
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go
index e9ecbb933..21171a737 100644
--- a/core/tx_pool_test.go
+++ b/core/tx_pool_test.go
@@ -1266,7 +1266,7 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) {
// Tests that when the pool reaches its global transaction limit, underpriced
// transactions are gradually shifted out for more expensive ones and any gapped
-// pending transactions are moved into te queue.
+// pending transactions are moved into the queue.
//
// Note, local transactions are never allowed to be dropped.
func TestTransactionPoolUnderpricing(t *testing.T) {