balanceofsatoshis 11.49.1 → 11.49.2
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 +4 -0
- package/package.json +2 -2
- package/routing/adjust_fees.js +5 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"inquirer": "8.2.0",
|
|
36
36
|
"invoices": "2.0.4",
|
|
37
37
|
"ln-accounting": "5.0.5",
|
|
38
|
-
"ln-service": "53.
|
|
38
|
+
"ln-service": "53.8.0",
|
|
39
39
|
"ln-sync": "3.10.0",
|
|
40
40
|
"ln-telegram": "3.15.1",
|
|
41
41
|
"moment": "2.29.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
|
|
82
82
|
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 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/wallets/*.js"
|
|
83
83
|
},
|
|
84
|
-
"version": "11.49.
|
|
84
|
+
"version": "11.49.2"
|
|
85
85
|
}
|
package/routing/adjust_fees.js
CHANGED
|
@@ -212,6 +212,11 @@ module.exports = (args, cbk) => {
|
|
|
212
212
|
return cbk(err);
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
// Exit early when the channel policies are not defined
|
|
216
|
+
if (!!res.policies.find(n => n.cltv_delta === undefined)) {
|
|
217
|
+
return cbk();
|
|
218
|
+
}
|
|
219
|
+
|
|
215
220
|
return cbk(null, res);
|
|
216
221
|
});
|
|
217
222
|
},
|