Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Aug 3, 2021
1 parent 28a8d74 commit 9c9796d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/sync/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
func NewMockFinalityGadget() *syncmocks.FinalityGadget {
m := new(syncmocks.FinalityGadget)
// using []uint8 instead of []byte: https://github.com/stretchr/testify/pull/969
m.On("VerifyBlockJustification", mock.AnythingOfType("[]uint8")).Return(nil)
m.On("VerifyBlockJustification", mock.AnythingOfType("common.Hash"), mock.AnythingOfType("[]uint8")).Return(nil)
return m
}

Expand Down

0 comments on commit 9c9796d

Please sign in to comment.