ledger accounts improvement

This commit is contained in:
Stephan D
2026-01-30 15:54:45 +01:00
parent 51f5b0804a
commit 17dde423f6
40 changed files with 3355 additions and 570 deletions

View File

@@ -121,6 +121,9 @@ func (i *Imp) Start() error {
invokeURI = cfg.GRPC.DiscoveryInvokeURI()
}
svc := ledger.NewService(logger, repo, producer, feesClient, feesTimeout, invokeURI)
if err := svc.EnsureSystemAccounts(context.Background()); err != nil {
return nil, err
}
i.service = svc
return svc, nil
}