Updated tests due to ethereum-list repo structure change

This commit is contained in:
H 2017-08-28 11:41:18 +01:00 committed by GitHub
parent 7d2e0234cf
commit a7b17f1ed6

View File

@ -17,8 +17,8 @@ const remoteBlacklistException = ['bittreat.com']
// load MEW blacklist
mapValues({
mewBlacklist: 'https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/urls-darklist.json',
mewWhitelist: 'https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/urls-lightlist.json',
mewBlacklist: 'https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/urls/urls-darklist.json',
mewWhitelist: 'https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/urls/urls-lightlist.json',
ealWhitelist: 'https://raw.githubusercontent.com/409H/EtherAddressLookup/master/whitelists/domains.json',
ealBlacklist: 'https://raw.githubusercontent.com/409H/EtherAddressLookup/master/blacklists/domains.json',
}, (url, _, cb) => loadRemoteJson(url, cb), (err, results) => {
@ -334,4 +334,4 @@ function loadRemoteJson (url, cb) {
if (err) return cb(new Error(`Trouble loading list at "${url}":\n${err.stack}`))
cb(_err, result)
})
}
}