From 9ff9d04a6906cdb941f6797e63b9da7536316b64 Mon Sep 17 00:00:00 2001 From: Ricardo Domingos Date: Fri, 24 Nov 2017 10:20:01 +0100 Subject: 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 --- core/chain_indexer.go | 2 +- core/tx_pool_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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) { -- cgit v1.2.3