diff --git a/lib/cash-out/cash-out-helper.js b/lib/cash-out/cash-out-helper.js index cd834107..1b34b155 100644 --- a/lib/cash-out/cash-out-helper.js +++ b/lib/cash-out/cash-out-helper.js @@ -52,6 +52,9 @@ const mapValuesWithKey = _.mapValues.convert({cap: false}) function convertBigNumFields (obj) { const convert = (value, key) => { if (_.includes(key, [ 'cryptoAtoms', 'receivedCryptoAtoms', 'fiat', 'fixedFee' ])) { + // BACKWARDS_COMPATIBILITY 10.1 + // bills before 10.2 don't have fixedFee + if (key === 'fixedFee' && !value) return new BN(0).toString() return value.toString() }