Skip to content

Commit

Permalink
core/forkid: forkid_test.go:563:40: not enough arguments in call to g…
Browse files Browse the repository at this point in the history
…atherForks

forkid_test.go:563:40: not enough arguments in call to gatherForks
    have (ctypes.ChainConfigurator)
    want (ctypes.ChainConfigurator, uint64) (typecheck)
  • Loading branch information
ziogaschr committed Feb 8, 2024
1 parent de0e288 commit 38a2051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/forkid/forkid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ func TestEncoding(t *testing.T) {

func TestGatherForks(t *testing.T) {
cases := []struct {
name string
config ctypes.ChainConfigurator
name string
config ctypes.ChainConfigurator
blockForks []uint64
timeForks []uint64
}{
Expand Down Expand Up @@ -560,7 +560,7 @@ func TestGatherForks(t *testing.T) {
return true
}
for _, c := range cases {
blockForks, timeForks := gatherForks(c.config)
blockForks, timeForks := gatherForks(c.config, 0)
if !slicesEquivalent(blockForks, c.blockForks) {
t.Errorf("config=%s block forks mismatch: have %v, want %v", c.name, blockForks, c.blockForks)
}
Expand Down

0 comments on commit 38a2051

Please sign in to comment.