Add blacklist functionality
This commit is contained in:
parent
a638524249
commit
4640b4a774
6 changed files with 57 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ const E = require('../error')
|
|||
|
||||
const PENDING_INTERVAL_MS = 60 * T.minutes
|
||||
|
||||
const massage = _.flow(_.omit(['direction', 'cryptoNetwork', 'bills']),
|
||||
const massage = _.flow(_.omit(['direction', 'cryptoNetwork', 'bills', 'blacklisted']),
|
||||
convertBigNumFields, _.mapKeys(_.snakeCase))
|
||||
|
||||
module.exports = {toObj, upsert, insert, update, massage, isClearToSend}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue