From a49e41e4ebc4a9cd7db451451730f53c882b52f2 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 f7427b979..5d43da63a 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")