From c02c5e5e447e72dc1be8f50ce38d1d7e4e6208e2 Mon Sep 17 00:00:00 2001 From: Geoffrey Ragot Date: Tue, 22 Oct 2024 17:19:12 +0200 Subject: [PATCH] fix: cached parser --- internal/controller/system/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/system/controller.go b/internal/controller/system/controller.go index d1c9c7df6..e721e2ac8 100644 --- a/internal/controller/system/controller.go +++ b/internal/controller/system/controller.go @@ -52,7 +52,7 @@ func (ctrl *DefaultController) GetLedgerController(ctx context.Context, name str var ledgerController ledgercontroller.Controller = ledgercontroller.NewDefaultController( *l, store, - ledgercontroller.NewDefaultNumscriptParser(), + ctrl.parser, ledgercontroller.WithMeter(ctrl.meter), )