balanceofsatoshis 19.2.0 → 19.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/routing/adjust_fees.js +4 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis -t alexbosworth/balanceofsatoshis:$npm_package_version --push .",
|
|
85
85
|
"test": "npx nyc@17.0.0 node --experimental-test-coverage --test test/arrays/*.js test/balances/*.js test/chain/*.js test/display/*.js test/encryption/*.js test/lnd/*.js test/network/*.js test/nodes/*.js test/peers/*.js test/responses/*.js test/routing/*.js test/services/*.js test/swaps/*.js test/tags/*.js test/telegram/*.js test/wallets/*.js"
|
|
86
86
|
},
|
|
87
|
-
"version": "19.2.
|
|
87
|
+
"version": "19.2.1"
|
|
88
88
|
}
|
package/routing/adjust_fees.js
CHANGED
|
@@ -97,8 +97,10 @@ module.exports = (args, cbk) => {
|
|
|
97
97
|
return cbk([400, 'SettingGlobalInboundRateDiscountNotSupported']);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
if (
|
|
101
|
-
|
|
100
|
+
if (!!args.inbound_rate_discount) {
|
|
101
|
+
if (!isNumber(args.inbound_rate_discount)) {
|
|
102
|
+
return cbk([400, 'ExpectedNumericRateToSetInboundRateDiscount']);
|
|
103
|
+
}
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
return cbk();
|