git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 95835c54ae0cd7585237f3cf3b929867e8a016b9

Use Interface.exportTable in Kernal

Alex Beregszaszi committed on 8/3/2016, 6:18:55 PM
Parent: 364643a1dafb28ead224b6e8b6deed9459d2064e

Files changed

index.jschanged
index.jsView
@@ -26,9 +26,9 @@
2626
2727 // handles running code.
2828 static codeHandler (code, ethInterface = new Interface(new Environment())) {
2929 const instance = Wasm.instantiateModule(code, {
30- 'ethereum': ethInterface
30+ 'ethereum': ethInterface.exportTable
3131 })
3232
3333 ethInterface.setModule(instance)
3434 if (instance.exports.main) {

Built with git-ssb-web