Prevent address reuse option

This commit is contained in:
Rafael Taranto 2019-07-31 12:17:39 +01:00 committed by Josh Harvey
parent 55cdc2fa52
commit 98cc3b18b7
9 changed files with 141 additions and 13 deletions

View file

@ -8,7 +8,7 @@ const E = require('../error')
const PENDING_INTERVAL_MS = 60 * T.minutes
const massage = _.flow(_.omit(['direction', 'cryptoNetwork', 'bills', 'blacklisted']),
const massage = _.flow(_.omit(['direction', 'cryptoNetwork', 'bills', 'blacklisted', 'addressReuse']),
convertBigNumFields, _.mapKeys(_.snakeCase))
module.exports = {toObj, upsert, insert, update, massage, isClearToSend}