Skip to content

Commit

Permalink
feat(longrange): remove validate length comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbraun committed Nov 15, 2023
1 parent 9b5c7ba commit 32c0c34
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 32c0c34

Please sign in to comment.