mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
Merge 74b9c963d0 into 7c9032dff6
This commit is contained in:
commit
6c26d26441
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ func (s *Suite) TestGetBlockBodies(t *utesting.T) {
|
|||
t.Fatalf("error reading block bodies msg: %v", err)
|
||||
}
|
||||
if got, want := resp.RequestId, req.RequestId; got != want {
|
||||
t.Fatalf("unexpected request id in respond", got, want)
|
||||
t.Fatalf("unexpected request id in response: got %d, want %d", got, want)
|
||||
}
|
||||
if resp.List.Len() != len(req.GetBlockBodiesRequest) {
|
||||
t.Fatalf("wrong bodies in response: expected %d bodies, got %d", len(req.GetBlockBodiesRequest), resp.List.Len())
|
||||
|
|
|
|||
Loading…
Reference in a new issue