mirror of
https://github.com/FlipsideCrypto/eth-phishing-detect.git
synced 2026-02-06 11:16:45 +00:00
Updated tests due to ethereum-list repo structure change
This commit is contained in:
parent
7d2e0234cf
commit
a7b17f1ed6
@ -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)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user