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; }