Skip to content

Commit

Permalink
fix: add required chain parameter for testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco4203 committed Jun 12, 2024
1 parent b0594cc commit 90bd034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/consortium/v2/consortium_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ func TestSnapshotValidatorWithBlsKey(t *testing.T) {
}
snap := newSnapshot(nil, nil, nil, 10, common.Hash{0x2}, nil, validators, nil)
db := rawdb.NewMemoryDatabase()
err = snap.store(db)
err = snap.store(db, &core.BlockChain{})
if err != nil {
t.Fatalf("Failed to store snapshot, err: %s", err)
}
Expand Down

0 comments on commit 90bd034

Please sign in to comment.