Skip to content

Commit 38be0dc

Browse files
authored
chore: fix store request id log (#1242)
1 parent 37f936d commit 38be0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waku/v2/protocol/store/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (s *WakuStore) next(ctx context.Context, r Result, opts ...RequestOption) (
263263
}
264264

265265
func (s *WakuStore) queryFrom(ctx context.Context, storeRequest *pb.StoreQueryRequest, params *Parameters) (*pb.StoreQueryResponse, error) {
266-
logger := s.log.With(logging.HostID("peer", params.selectedPeer), zap.String("requestId", hex.EncodeToString([]byte(storeRequest.RequestId))))
266+
logger := s.log.With(logging.HostID("peer", params.selectedPeer), zap.String("requestId", storeRequest.RequestId))
267267

268268
logger.Debug("sending store request")
269269

0 commit comments

Comments
 (0)