mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
eth/catalyst: fix error string format
This commit is contained in:
parent
b6474e9f90
commit
0085c2055e
1 changed files with 3 additions and 3 deletions
|
|
@ -979,11 +979,11 @@ func TestSimultaneousNewBlock(t *testing.T) {
|
|||
defer wg.Done()
|
||||
if newResp, err := api.NewPayloadV1(*execData); err != nil {
|
||||
errMu.Lock()
|
||||
testErr = fmt.Errorf("Failed to insert block: %w", err)
|
||||
testErr = fmt.Errorf("failed to insert block: %w", err)
|
||||
errMu.Unlock()
|
||||
} else if newResp.Status != "VALID" {
|
||||
errMu.Lock()
|
||||
testErr = fmt.Errorf("Failed to insert block: %v", newResp.Status)
|
||||
testErr = fmt.Errorf("failed to insert block: %v", newResp.Status)
|
||||
errMu.Unlock()
|
||||
}
|
||||
}()
|
||||
|
|
@ -1018,7 +1018,7 @@ func TestSimultaneousNewBlock(t *testing.T) {
|
|||
defer wg.Done()
|
||||
if _, err := api.ForkchoiceUpdatedV1(fcState, nil); err != nil {
|
||||
errMu.Lock()
|
||||
testErr = fmt.Errorf("Failed to insert block: %w", err)
|
||||
testErr = fmt.Errorf("failed to insert block: %w", err)
|
||||
errMu.Unlock()
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Reference in a new issue