From dda3faaf7e59649ab7541cb1f6f2b6d8365edf18 Mon Sep 17 00:00:00 2001 From: Mengran Lan Date: Wed, 21 Aug 2024 11:53:12 +0800 Subject: [PATCH] fix compile bug --- coordinator/internal/logic/verifier/verifier.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coordinator/internal/logic/verifier/verifier.go b/coordinator/internal/logic/verifier/verifier.go index e52d312090..560a4697bb 100644 --- a/coordinator/internal/logic/verifier/verifier.go +++ b/coordinator/internal/logic/verifier/verifier.go @@ -33,9 +33,9 @@ type rustVerifierConfig struct { // NewVerifier Sets up a rust ffi to call verify. func NewVerifier(cfg *config.VerifierConfig) (*Verifier, error) { if cfg.MockMode { - chunkVKMap := map[string]string{cfg.ForkName: "mock_vk"} - batchVKMap := map[string]string{cfg.ForkName: "mock_vk"} - bundleVKMap := map[string]string{cfg.ForkName: "mock_vk"} + chunkVKMap := map[string]struct{}{"mock_vk": struct{}{}} + batchVKMap := map[string]struct{}{"mock_vk": struct{}{}} + bundleVKMap := map[string]struct{}{"mock_vk": struct{}{}} return &Verifier{cfg: cfg, ChunkVKMap: chunkVKMap, BatchVKMap: batchVKMap, BundleVkMap: bundleVKMap}, nil } verifierConfig := rustVerifierConfig{