all: fix typos in comments (#21118)
This commit is contained in:
@ -515,7 +515,7 @@ func (f *TxFetcher) loop() {
|
||||
// Schedule a new transaction retrieval
|
||||
f.scheduleFetches(timeoutTimer, timeoutTrigger, nil)
|
||||
|
||||
// No idea if we sheduled something or not, trigger the timer if needed
|
||||
// No idea if we scheduled something or not, trigger the timer if needed
|
||||
// TODO(karalabe): this is kind of lame, can't we dump it into scheduleFetches somehow?
|
||||
f.rescheduleTimeout(timeoutTimer, timeoutTrigger)
|
||||
|
||||
|
@ -30,7 +30,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
// testTxs is a set of transactions to use during testing that have meaninful hashes.
|
||||
// testTxs is a set of transactions to use during testing that have meaningful hashes.
|
||||
testTxs = []*types.Transaction{
|
||||
types.NewTransaction(5577006791947779410, common.Address{0x0f}, new(big.Int), 0, new(big.Int), nil),
|
||||
types.NewTransaction(15352856648520921629, common.Address{0xbb}, new(big.Int), 0, new(big.Int), nil),
|
||||
@ -449,7 +449,7 @@ func TestTransactionFetcherCleanupEmpty(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
// Tests that non-returned transactions are either re-sheduled from a
|
||||
// Tests that non-returned transactions are either re-scheduled from a
|
||||
// different peer, or self if they are after the cutoff point.
|
||||
func TestTransactionFetcherMissingRescheduling(t *testing.T) {
|
||||
testTransactionFetcherParallel(t, txFetcherTest{
|
||||
|
Reference in New Issue
Block a user