File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ const PhishingDetector = require('eth-phishing-detect/src/detector')
44
55// compute phishing lists
66const PHISHING_DETECTION_CONFIG = require ( 'eth-phishing-detect/src/config.json' )
7- // every ten minutes
8- const POLLING_INTERVAL = 10 * 60 * 1000
7+ // every four minutes
8+ const POLLING_INTERVAL = 4 * 60 * 1000
99
1010class BlacklistController {
1111
@@ -41,6 +41,7 @@ class BlacklistController {
4141
4242 scheduleUpdates ( ) {
4343 if ( this . _phishingUpdateIntervalRef ) return
44+ this . updatePhishingList ( )
4445 this . _phishingUpdateIntervalRef = setInterval ( ( ) => {
4546 this . updatePhishingList ( )
4647 } , POLLING_INTERVAL )
Original file line number Diff line number Diff line change 6868 "eth-bin-to-ops" : " ^1.0.1" ,
6969 "eth-contract-metadata" : " ^1.1.4" ,
7070 "eth-hd-keyring" : " ^1.1.1" ,
71- "eth-phishing-detect" : " ^1.1.0 " ,
71+ "eth-phishing-detect" : " ^1.1.3 " ,
7272 "eth-query" : " ^2.1.2" ,
7373 "eth-sig-util" : " ^1.2.2" ,
7474 "eth-simple-keyring" : " ^1.1.1" ,
You can’t perform that action at this time.
0 commit comments