support sanctions compliance

This commit is contained in:
Josh Harvey 2018-05-03 20:18:13 +03:00
parent 80e851fb59
commit d904c8391e
5 changed files with 108 additions and 25 deletions

View file

@ -33,8 +33,9 @@ function run () {
}
function runOnce () {
logger.info('Loading sanctions DB...')
return ofac.load()
.then(settingsLoader.loadLatest())
.then(settingsLoader.loadLatest)
.then(settings => {
poller.start(settings)