Retry downloading OFAC lists (#236)
* Retry downloading OFAC lists * Update ofac sources on lamassu-update
This commit is contained in:
parent
b9f9c6facc
commit
7043a3c408
5 changed files with 48 additions and 1 deletions
|
|
@ -103,6 +103,10 @@ function update () {
|
|||
throw new Error('ofacDataDir must be defined in lamassu.json')
|
||||
}
|
||||
|
||||
if (!options.ofacSources) {
|
||||
logger.error('ofacSources must be defined in lamassu.json')
|
||||
}
|
||||
|
||||
const OFAC_SOURCES_DIR = path.join(OFAC_DATA_DIR, 'sources')
|
||||
const OFAC_ETAGS_FILE = path.join(OFAC_DATA_DIR, 'etags.json')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue