- Removed now obsolete file

This commit is contained in:
AlexanderBuzz
2023-01-30 14:22:31 +01:00
parent bce91a17f2
commit 59306cdf63

View File

@@ -1,21 +0,0 @@
'use strict';
module.exports = {
isAmountObject : function (arg) {
const keys = Object.keys(arg).sort()
return (
keys.length === 3 &&
keys[0] === 'currency' &&
keys[1] === 'issuer' &&
keys[2] === 'value'
)
},
sortFuncCanonical : function (a, b) {
a = this.fieldSortKey(a)
b = this.fieldSortKey(b)
return a.typeCode - b.typeCode || a.fieldCode - b.fieldCode
}
}