From 023590d27fe7f12dd4a210221a7d3f12861f7635 Mon Sep 17 00:00:00 2001 From: nick Date: Tue, 10 Dec 2024 17:24:50 +0900 Subject: [PATCH] fix: update log --- node/pkg/dal/collector/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/pkg/dal/collector/utils.go b/node/pkg/dal/collector/utils.go index a09bb9a1b..dd93219b1 100644 --- a/node/pkg/dal/collector/utils.go +++ b/node/pkg/dal/collector/utils.go @@ -156,7 +156,7 @@ func getSignerListFromProofs(hash []byte, proofChunks [][]byte) ([]klaytncommon. func checkForNonWhitelistedSigners(signers []klaytncommon.Address, whitelist []klaytncommon.Address) error { for _, signer := range signers { if !isWhitelisted(signer, whitelist) { - log.Error().Str("Player", "DAL").Any("signers", signers).Str("signer", signer.Hex()).Msg("non-whitelisted signer") + log.Error().Str("Player", "DAL").Any("signers", signers).Any("signer", signer).Msg("non-whitelisted signer") return errorsentinel.ErrDalSignerNotWhitelisted } } @@ -165,7 +165,7 @@ func checkForNonWhitelistedSigners(signers []klaytncommon.Address, whitelist []k func isWhitelisted(signer klaytncommon.Address, whitelist []klaytncommon.Address) bool { for _, w := range whitelist { - if strings.EqualFold(w.Hex(), signer.Hex()) { + if w == signer { return true } }