Skip padding in noise
This commit is contained in:
parent
a8438f9191
commit
b4b5f5b111
|
@ -79,6 +79,7 @@ export class Relay extends LayerBoundary {
|
|||
while (true) {
|
||||
const rawPacket = this.decoder.try_next();
|
||||
if (rawPacket === void 0) break;
|
||||
if (rawPacket === false) continue;
|
||||
const wirePacket = IO.toPacket(rawPacket);
|
||||
if (wirePacket === void 0) throw new Error("Bad IO.Packet");
|
||||
if (this.debug) console.log('IN', stringify(rawPacket));
|
||||
|
|
Loading…
Reference in New Issue