Feat: save highVolumeTxs on DB and plugins code refactor

Fix: remove unused module and add space before '('

Chore: add jest tests for transactionNotify
This commit is contained in:
Cesar 2020-12-04 19:58:17 +00:00 committed by Josh Harvey
parent 75bfb4b991
commit 2ced230020
8 changed files with 646 additions and 414 deletions

View file

@ -1,5 +1,6 @@
const _ = require('lodash/fp')
const utils = require('./utils')
const sms = require('../sms')
function printSmsAlerts(alertRec, config) {
let alerts = []
@ -50,4 +51,6 @@ function printSmsAlerts(alertRec, config) {
return '[Lamassu] Errors reported: ' + displayAlertTypes.join(', ')
}
module.exports = { printSmsAlerts }
const sendMessage = sms.sendMessage
module.exports = { printSmsAlerts, sendMessage }