Skip to content

Commit

Permalink
Merge pull request #5 from sabicalija/fix/protocol-locale-lowercase
Browse files Browse the repository at this point in the history
Fix protocol lookup (Error: Unknown protocol)
  • Loading branch information
benfoxall authored Apr 9, 2024
2 parents f238be9 + 2b14459 commit 00bcbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/EncodeIR.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const EncodeIR = async (protocol, D, S, F) => {

let v = ''
printer = (val) => v = val;
const r = Module.encode(protocol, D, S, F)
const r = Module.encode(protocol.toLocaleLowerCase(), D, S, F)

if (r === 0) {
return v
Expand Down

0 comments on commit 00bcbf5

Please sign in to comment.