Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
latest code
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Apr 20, 2022
1 parent 83480ef commit 3c54585
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions routes/readWasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ router.route("/getWasmData").get(async function (req, res, next) {

let wasmData= routerJsClient.getBinary('JsClients/ROUTER/wasm/purse-proxy.wasm');
console.log(wasmData);
//console.log(v8.serialize(wasmData));
console.log(serialize({ arr : wasmData}));
//JSON.parse(JSON.stringify(wasmData));
serialize({ arr : wasmData});

return res.status(200).json({
success: true,
message: "Wasm data successfully read and converted. ",
// wasmData: v8.serialize(wasmData),
wasmData: serialize({ arr : wasmData}),
});

Expand Down

0 comments on commit 3c54585

Please sign in to comment.