ln-service 57.22.0 → 57.22.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
CHANGED
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"bolt07": "1.9.4",
|
|
11
11
|
"invoices": "3.0.0",
|
|
12
|
-
"lightning": "10.22.
|
|
12
|
+
"lightning": "10.22.1",
|
|
13
13
|
"macaroon": "3.0.4"
|
|
14
14
|
},
|
|
15
15
|
"description": "Interaction helper for your Lightning Network daemon",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"portfinder": "1.0.32",
|
|
30
30
|
"psbt": "3.0.0",
|
|
31
31
|
"rimraf": "6.0.1",
|
|
32
|
-
"secp256k1": "5.0.0",
|
|
33
32
|
"tiny-secp256k1": "2.2.3",
|
|
34
33
|
"uuid": "10.0.0",
|
|
35
34
|
"varuint-bitcoin": "2.0.0"
|
|
@@ -74,5 +73,5 @@
|
|
|
74
73
|
"integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
|
|
75
74
|
"test": "echo $DOCKER_LND_VERSION && node test/runner"
|
|
76
75
|
},
|
|
77
|
-
"version": "57.22.
|
|
76
|
+
"version": "57.22.2"
|
|
78
77
|
}
|
|
@@ -3,7 +3,7 @@ const {equal} = require('node:assert').strict;
|
|
|
3
3
|
const test = require('node:test');
|
|
4
4
|
|
|
5
5
|
const {decode} = require('bip66');
|
|
6
|
-
const {
|
|
6
|
+
const {recover} = require('tiny-secp256k1');
|
|
7
7
|
const {spawnLightningCluster} = require('ln-docker-daemons');
|
|
8
8
|
|
|
9
9
|
const {signBytes} = require('./../../');
|
|
@@ -38,7 +38,7 @@ test(`Verify bytes signature`, async () => {
|
|
|
38
38
|
// Find the recovery flag that works for this signature
|
|
39
39
|
const recoveryFlag = recoveryFlags.find(flag => {
|
|
40
40
|
try {
|
|
41
|
-
const key = Buffer.from(
|
|
41
|
+
const key = Buffer.from(recover(hash, realSig, flag, true));
|
|
42
42
|
|
|
43
43
|
return key.equals(Buffer.from(id, 'hex'));
|
|
44
44
|
} catch (err) {
|