core: fix typo in comment

This commit is contained in:
Ricardo Domingos 2017-11-21 22:30:30 +01:00 committed by Péter Szilágyi
parent ce224987a1
commit 870fc35ed3
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D
2 changed files with 2 additions and 2 deletions

View file

@ -230,7 +230,7 @@ func (c *ChainIndexer) newHead(head uint64, reorg bool) {
if changed < c.storedSections { if changed < c.storedSections {
c.setValidSections(changed) 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 head = changed * c.sectionSize
if head < c.cascadedHead { if head < c.cascadedHead {

View file

@ -1266,7 +1266,7 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) {
// Tests that when the pool reaches its global transaction limit, underpriced // Tests that when the pool reaches its global transaction limit, underpriced
// transactions are gradually shifted out for more expensive ones and any gapped // 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. // Note, local transactions are never allowed to be dropped.
func TestTransactionPoolUnderpricing(t *testing.T) { func TestTransactionPoolUnderpricing(t *testing.T) {