ledger accounts improvement
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user