Poll-based contract output reading. (#172)

This commit is contained in:
Ravin Perera
2020-11-27 15:57:36 +05:30
committed by GitHub
parent 80392cc995
commit 79b55258de
4 changed files with 161 additions and 170 deletions

View File

@@ -22,7 +22,7 @@ class HotPocketContract {
const argsJson = fs.readFileSync(0, 'utf8');
const hpargs = JSON.parse(argsJson);
this.#controlChannel = new ControlChannel(hpargs.hpfd);
this.#controlChannel = new ControlChannel(hpargs.controlfd);
this.#executeContract(hpargs, contractFunc);
}