From 6e30ffdf6f5ad488847f86772f2a606c98bd73dd Mon Sep 17 00:00:00 2001 From: Ling Date: Mon, 25 Feb 2019 18:43:33 +0800 Subject: [PATCH] delete constructor iwallet cannot compile --- demos/web_on_blockchain.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/web_on_blockchain.js b/demos/web_on_blockchain.js index 23e7aca..c6d0943 100644 --- a/demos/web_on_blockchain.js +++ b/demos/web_on_blockchain.js @@ -1,5 +1,5 @@ class Web { - constructor(){} + init() { storage.put("nonce", JSON.stringify(0)); } @@ -13,4 +13,4 @@ class Web { } } -module.exports = Web; \ No newline at end of file +module.exports = Web;