mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
core: fix typo in comment
This commit is contained in:
parent
ce224987a1
commit
870fc35ed3
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue