Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaptoss committed Aug 1, 2024
1 parent 7d2566b commit 70379e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/config/poll_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/rarimo/geo-points-svc/internal/contracts/proposalsmt"
"github.com/rarimo/geo-points-svc/internal/contracts/proposalsstate"

"gitlab.com/distributed_lab/figure"
"gitlab.com/distributed_lab/figure/v3"
"gitlab.com/distributed_lab/kit/comfig"
"gitlab.com/distributed_lab/kit/kv"
)
Expand Down Expand Up @@ -62,6 +62,7 @@ func (c *pollVerifier) PollVerifier() *PollVerifier {

err := figure.Out(&cfg).
From(kv.MustGetStringMap(c.getter, "poll_verifier")).
With(figure.EthereumHooks, figure.BaseHooks).
Please()
if err != nil {
panic(fmt.Errorf("failed to figure out vote verifier config: %w", err))
Expand Down

0 comments on commit 70379e2

Please sign in to comment.