aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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) {