Skip to content

Commit

Permalink
chore: fix store request id log
Browse files Browse the repository at this point in the history
  • Loading branch information
kaichaosun committed Oct 17, 2024
1 parent 37f936d commit 787d54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/v2/protocol/store/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 787d54a

Please sign in to comment.