Skip to content

Commit a1b59c3

Browse files
committed
fix(LW-11296): temporary fix for protocol parameter entropy reset
1 parent f73fecb commit a1b59c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/Serialization/Update/ProtocolParamUpdate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ export class ProtocolParamUpdate {
324324
case 13n: {
325325
// entropy is encoded as an array of two elements, where the second elements is the entropy value
326326
const size = reader.readStartArray();
327+
reader.readEncodedValue();
328+
327329
if (size === 1) {
328-
reader.readEncodedValue();
329330
reader.readEndArray();
330331
} else {
331-
reader.readEncodedValue();
332332
params.#extraEntropy = HexBlob.fromBytes(reader.readByteString());
333333
reader.readEndArray();
334334
}

0 commit comments

Comments
 (0)