Skip to content

Commit

Permalink
fix vm worker bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Dec 8, 2022
1 parent e4fe93f commit 9f1568f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/workers/vm/vm-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const init = Module().then(m => {
data,
})
}
m.jacsStart()
m.devsStart()
return m
})

Expand All @@ -55,7 +55,7 @@ const handlers: { [index: string]: (props: any) => object | Promise<object> } =
deploy: async (props: VMDeployRequest) => {
const { binary, debugInfo, restart } = props
const Module = await init
const verificationError = Module.jacsDeploy(binary)
const verificationError = Module.devsDeploy(binary)
if (verificationError != 0) {
console.log("verification error: " + verificationError)
return { verificationError }
Expand Down

0 comments on commit 9f1568f

Please sign in to comment.