From 2e11239e8936afd3be042a22596a6fe3f0362646 Mon Sep 17 00:00:00 2001 From: "Frank.R.Wu" Date: Tue, 8 Feb 2022 16:20:38 +0800 Subject: [PATCH] fix --- src/js/contractlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contractlist.js b/src/js/contractlist.js index 58bb7d7..01a0a0d 100644 --- a/src/js/contractlist.js +++ b/src/js/contractlist.js @@ -3,7 +3,7 @@ var loadContractList = function (e) { param.action = "listNodes"; param.pubKey = global.sm2Key.publicKey; global.wssocket.send(JSON.stringify(param)); - if (global.nodeInfo) { + if (!global.nodeInfo) { setTimeout(loadContractList, 300); return; }