From 90bd034262fada248325f58e3a43ddecdcbd36f1 Mon Sep 17 00:00:00 2001 From: Francesco4203 Date: Wed, 12 Jun 2024 14:51:27 +0700 Subject: [PATCH] fix: add required chain parameter for testcase --- consensus/consortium/v2/consortium_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/consortium/v2/consortium_test.go b/consensus/consortium/v2/consortium_test.go index 66981b01e4..2f0e868047 100644 --- a/consensus/consortium/v2/consortium_test.go +++ b/consensus/consortium/v2/consortium_test.go @@ -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) }