ParseASN1HexString.mjs: fix the name of option to use

This commit is contained in:
MikeCAT 2022-10-28 21:33:56 +09:00
parent ed8bd34915
commit d5ffbbb14c

View file

@ -46,7 +46,7 @@ class ParseASN1HexString extends Operation {
run(input, args) {
const [index, truncateLen] = args;
return r.ASN1HEX.dump(input.replace(/\s/g, ""), {
"ommitLongOctet": truncateLen
"ommit_long_octet": truncateLen
}, index);
}