From 32c0c34084e1c998b12b4698a420cb43afbfdc72 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Braun" Date: Wed, 15 Nov 2023 06:19:18 -0800 Subject: [PATCH] feat(longrange): remove validate length comments --- .../src/lib/serialapi/capability/LongRangeSetupMessages.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/zwave-js/src/lib/serialapi/capability/LongRangeSetupMessages.ts b/packages/zwave-js/src/lib/serialapi/capability/LongRangeSetupMessages.ts index 2bc2a333357f..8459eef7cc15 100644 --- a/packages/zwave-js/src/lib/serialapi/capability/LongRangeSetupMessages.ts +++ b/packages/zwave-js/src/lib/serialapi/capability/LongRangeSetupMessages.ts @@ -36,7 +36,6 @@ export class LongRangeChannelMessageBase extends Message { super(host, options); if (gotDeserializationOptions(options)) { - // BUGBUG: verify length? switch (this.payload[0]) { case 0x01: this.longRangeChannel = LongRangeChannel.A; @@ -137,7 +136,6 @@ export class SetLongRangeShadowNodeIDsRequest extends Message { super(host, options); if (gotDeserializationOptions(options)) { - // BUGBUG: verify length? this.shadowNodeIds = parseBitMask( this.payload.subarray(0, 1), LONG_RANGE_SHADOW_NODE_IDS_START,