From e7ade61bbf21e242397c6266e299d8ae38169ecc Mon Sep 17 00:00:00 2001 From: Iuga Mihai Date: Wed, 1 Mar 2023 12:34:17 +0200 Subject: [PATCH] fixes --- outport/process/transactionsfee/transactionsFeeProcessor.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/outport/process/transactionsfee/transactionsFeeProcessor.go b/outport/process/transactionsfee/transactionsFeeProcessor.go index 114c20ca654..81047ab9709 100644 --- a/outport/process/transactionsfee/transactionsFeeProcessor.go +++ b/outport/process/transactionsfee/transactionsFeeProcessor.go @@ -13,6 +13,8 @@ import ( logger "github.com/multiversx/mx-chain-logger-go" ) +const loggerName = "outport/process/transactionsfee" + // ArgTransactionsFeeProcessor holds the arguments needed for creating a new instance of transactionsFeeProcessor type ArgTransactionsFeeProcessor struct { Marshaller marshal.Marshalizer @@ -40,7 +42,7 @@ func NewTransactionsFeeProcessor(arg ArgTransactionsFeeProcessor) (*transactions txFeeCalculator: arg.TxFeeCalculator, shardCoordinator: arg.ShardCoordinator, txGetter: newTxGetter(arg.TransactionsStorer, arg.Marshaller), - log: logger.GetOrCreate("outport/process/transactionsfee"), + log: logger.GetOrCreate(loggerName), }, nil }