Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.getId(current_network_id => {
if (first === current_network_id) return callback(null, true);
if (isFirstANumber === false) {
BlockchainUtils.matches(first, provider, callback);
} else {
// Nothing else to compare.
return callback(null, false);
}
})
.catch(callback);