Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(network_name, finished) => {
const provider = Provider.create(options.networks[network_name]);
BlockchainUtils.asURI(provider, (err, uri) => {
if (err) {
result.failed.push(network_name);
} else {
result.uris[network_name] = uri;
}
finished();
});
},
error => {