From 787d54ae8b0bc65bdbc6f74020ce6012bbd07f04 Mon Sep 17 00:00:00 2001 From: kaichaosun Date: Thu, 17 Oct 2024 11:13:44 +0800 Subject: [PATCH] chore: fix store request id log --- waku/v2/protocol/store/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/v2/protocol/store/client.go b/waku/v2/protocol/store/client.go index 090ef8f04..6b3c9b2e1 100644 --- a/waku/v2/protocol/store/client.go +++ b/waku/v2/protocol/store/client.go @@ -263,7 +263,7 @@ func (s *WakuStore) next(ctx context.Context, r Result, opts ...RequestOption) ( } func (s *WakuStore) queryFrom(ctx context.Context, storeRequest *pb.StoreQueryRequest, params *Parameters) (*pb.StoreQueryResponse, error) { - logger := s.log.With(logging.HostID("peer", params.selectedPeer), zap.String("requestId", hex.EncodeToString([]byte(storeRequest.RequestId)))) + logger := s.log.With(logging.HostID("peer", params.selectedPeer), zap.String("requestId", storeRequest.RequestId)) logger.Debug("sending store request")