commit
7d11bfacb0
1 changed files with 2 additions and 2 deletions
|
|
@ -102,8 +102,8 @@ function diff (oldTx, newTx) {
|
|||
}
|
||||
|
||||
function ensureRatchet (oldField, newField, fieldKey) {
|
||||
const monotonic = ['cryptoAtoms', 'fiat', 'send', 'sendConfirmed', 'operatorCompleted', 'timedout', 'txVersion', 'batched']
|
||||
const free = ['sendPending', 'error', 'errorCode', 'customerId']
|
||||
const monotonic = ['cryptoAtoms', 'fiat', 'send', 'sendConfirmed', 'operatorCompleted', 'timedout', 'txVersion', 'batched', 'discount']
|
||||
const free = ['sendPending', 'error', 'errorCode', 'customerId', 'discountSource']
|
||||
|
||||
if (_.isNil(oldField)) return true
|
||||
if (_.includes(fieldKey, monotonic)) return isMonotonic(oldField, newField, fieldKey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue