mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
JSON message parsing for contract control messages. (#166)
This commit is contained in:
@@ -40,7 +40,7 @@ class HotPocketContract {
|
||||
}
|
||||
|
||||
#terminate = () => {
|
||||
this.#controlChannel.send("Terminated")
|
||||
this.#controlChannel.send(JSON.stringify({ type: "contract_end" }));
|
||||
this.#controlChannel.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user