Skip to content

Commit 3323f2f

Browse files
committed
fix: wrong value for Integer created from hex
1 parent 6083ac9 commit 3323f2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/internals/LocalIntegerValueBlock.ts

+4
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ export class LocalIntegerValueBlock extends HexBlock(ValueBlock) implements IDer
168168
}: LocalIntegerValueBlockParams = {}) {
169169
super(parameters);
170170

171+
if (parameters.valueHex) {
172+
this.setValueHex();
173+
}
174+
171175
if (value !== undefined) {
172176
this.valueDec = value;
173177
}

0 commit comments

Comments
 (0)