Merge branch 'v5' of github.com:lamassu/lamassu-server into origin-v5
This commit is contained in:
commit
c860df1576
3 changed files with 56 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ function isMonotonic (oldField, newField, fieldKey) {
|
|||
|
||||
function ensureRatchet (oldField, newField, fieldKey) {
|
||||
const monotonic = ['cryptoAtoms', 'fiat', 'cashInFeeCrypto', 'send', 'sendConfirmed', 'operatorCompleted', 'timedout', 'txVersion']
|
||||
const free = ['sendPending', 'error', 'errorCode']
|
||||
const free = ['sendPending', 'error', 'errorCode', 'customerId']
|
||||
|
||||
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