Skip to content

Commit

Permalink
les: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Jan 24, 2022
1 parent 87f82f9 commit 84e83d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion les/handler_test.go
Expand Up @@ -743,7 +743,7 @@ func testStopResume(t *testing.T, protocol int) {

// expect a ResumeMsg with the partially recharged buffer value
expBuf += testBufRecharge * wait
if err := p2p.ExpectMsg(rawPeer.app, ResumeMsg, expBuf); err != nil {
if err := p2p.ExpectMsg(rawPeer.app, ResumeMsg, []uint64{expBuf}); err != nil {
t.Errorf("expected ResumeMsg and failed: %v", err)
}
}
Expand Down

0 comments on commit 84e83d5

Please sign in to comment.