[#83] cmd/neofs-node: Use response services in application

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-22 14:07:06 +03:00 committed by Alex Vanin
parent 0341773318
commit 3065a7363b
6 changed files with 43 additions and 24 deletions

View file

@ -33,9 +33,12 @@ func initAccountingService(c *cfg) {
accountingTransportGRPC.New(
accountingService.NewSignService(
c.key,
accountingService.NewExecutionService(
accounting.NewExecutor(balanceMorphWrapper),
new(session.ResponseMetaHeader),
accountingService.NewResponseService(
accountingService.NewExecutionService(
accounting.NewExecutor(balanceMorphWrapper),
new(session.ResponseMetaHeader),
),
c.respSvc,
),
),
),