ln-service 57.27.2 → 57.27.3
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
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"bolt07": "1.9.4",
|
|
11
11
|
"invoices": "4.0.0",
|
|
12
|
-
"lightning": "10.27.
|
|
12
|
+
"lightning": "10.27.5",
|
|
13
13
|
"macaroon": "3.0.4"
|
|
14
14
|
},
|
|
15
15
|
"description": "Interaction helper for your Lightning Network daemon",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
|
|
82
82
|
"test": "echo $DOCKER_LND_VERSION && node test/runner"
|
|
83
83
|
},
|
|
84
|
-
"version": "57.27.
|
|
84
|
+
"version": "57.27.3"
|
|
85
85
|
}
|
|
@@ -98,11 +98,12 @@ test(`Pay via payment details`, async () => {
|
|
|
98
98
|
|
|
99
99
|
equal(tooSoonCltv, null, 'Should not be able to pay a too soon CLTV');
|
|
100
100
|
} catch (err) {
|
|
101
|
-
deepEqual(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
);
|
|
101
|
+
deepEqual(!!err, true, 'There should be an error');
|
|
102
|
+
|
|
103
|
+
const [code, msg] = err;
|
|
104
|
+
|
|
105
|
+
deepEqual(code, 400, 'The error is a user client error');
|
|
106
|
+
deepEqual(msg, 'MaxTimeoutTooNearCurrentHeightToMakePayment', 'Failed');
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
try {
|