This commit is contained in:
aozhiwei 2023-07-03 21:21:47 +08:00
parent e5e776267b
commit f62bffa0b8

View File

@ -113,12 +113,12 @@ async function init() {
traverseMetaList('Web3BcSpider', (item, idx) => {
if (item['instance_id'] == app.getInstanceId()) {
web3BcSpiderConf = item;
item['nets'].forEach((netId) => {
item['nets'].forEach((net) => {
const netId = net['net_id'];
const netDir = configDir + 'nets/' + netId + '/';
web3ConfHash[netId] = {
'Web3': utils.readJsonFromFile(netDir + 'web3.json'),
'Contract': utils.readJsonFromFile(netDir + 'contract.json'),
'Events': utils.readJsonFromFile(netDir + 'events.json')
};
});
}