mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-25 20:47:56 +00:00
add empty contract
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@
|
||||
imports.env.memory = runtime.memory;
|
||||
}
|
||||
if (!imports.env.table) {
|
||||
imports.env.table = new WebAssembly.Table({ initial: 6, maximum: 6, element: 'anyfunc' });
|
||||
imports.env.table = new WebAssembly.Table({ initial: 0, maximum: 0, element: 'anyfunc' });
|
||||
}
|
||||
return new WebAssembly.Instance(module, imports);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user