mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
core: fix error string format
This commit is contained in:
parent
29d94fea32
commit
37f5711371
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ func (b *testChainIndexBackend) Process(ctx context.Context, header *types.Heade
|
||||||
b.t.Error("Unexpected call to Process")
|
b.t.Error("Unexpected call to Process")
|
||||||
// Can't use Fatal since this is not the test's goroutine.
|
// Can't use Fatal since this is not the test's goroutine.
|
||||||
// Returning error stops the chainIndexer's updateLoop
|
// Returning error stops the chainIndexer's updateLoop
|
||||||
return errors.New("Unexpected call to Process")
|
return errors.New("unexpected call to Process")
|
||||||
case b.processCh <- header.Number.Uint64():
|
case b.processCh <- header.Number.Uint64():
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue