From f0e823d0ad969626c64e9e6cca05f1c0672f85e8 Mon Sep 17 00:00:00 2001 From: aleem1314 Date: Mon, 11 Dec 2023 11:55:50 +0530 Subject: [PATCH] chore: review changes --- x/evm/keeper/attest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/evm/keeper/attest.go b/x/evm/keeper/attest.go index 43ea1811..f83172da 100644 --- a/x/evm/keeper/attest.go +++ b/x/evm/keeper/attest.go @@ -232,7 +232,7 @@ func (k Keeper) attestRouter(ctx context.Context, q consensus.Queuer, msg consen smartContractID := origMsg.UploadSmartContract.GetId() deployment, _ := k.getSmartContractDeploymentByContractID(ctx, smartContractID, chainReferenceID) if deployment == nil { - logger.WithFields(err).With("smart-contract-id", smartContractID).Error("Smart contract not found") + logger.WithError(err).WithFields("smart-contract-id", smartContractID).Error("Smart contract not found") return ErrCannotActiveSmartContractThatIsNotDeploying }