From 0935dc816d1e29e632578db0bf757415a75e1516 Mon Sep 17 00:00:00 2001 From: NathanBSC Date: Thu, 20 Apr 2023 07:29:23 +0800 Subject: [PATCH] improve log --- x/slashing/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/slashing/keeper.go b/x/slashing/keeper.go index 06d1e73c0..df359a9c7 100644 --- a/x/slashing/keeper.go +++ b/x/slashing/keeper.go @@ -435,7 +435,7 @@ func (k *Keeper) slashingSideMaliciousVote(ctx sdk.Context, pack *SideSlashPacka // Malicious vote confirmed logger.Info(fmt.Sprintf("Confirmed malicious vote from %s at height %d, age %d is less than max age %d, summit at %d, jailed until %d before slashing", - sideConsAddr, pack.SideHeight, age, maxEvidenceAge, pack.SideTimestamp, uint64(signInfo.JailedUntil.Unix()))) + sdk.HexAddress(sideConsAddr), pack.SideHeight, age, maxEvidenceAge, pack.SideTimestamp, uint64(signInfo.JailedUntil.Unix()))) slashAmt := k.DoubleSignSlashAmount(sideCtx) validator, slashedAmt, err := k.validatorSet.SlashSideChain(ctx, sideChainName, sideConsAddr, sdk.NewDec(slashAmt))