mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
allow specifying non pubkey characters after the pubkey
This commit is contained in:
parent
ac9f6892ba
commit
417817a434
4 changed files with 6 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Versions
|
||||
|
||||
## 13.31.1
|
||||
## 13.31.2
|
||||
|
||||
- `call`: Add support for `signChainAddressMessage` for a chain addr signature
|
||||
- `call`: Add support for `verifyChainAddressMessage` to verify a address sig
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "balanceofsatoshis",
|
||||
"version": "13.31.1",
|
||||
"version": "13.31.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "balanceofsatoshis",
|
||||
"version": "13.31.1",
|
||||
"version": "13.31.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alexbosworth/caporal": "1.4.4",
|
||||
|
|
|
|||
|
|
@ -83,5 +83,5 @@
|
|||
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis --push .",
|
||||
"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/telegram/*.js test/wallets/*.js"
|
||||
},
|
||||
"version": "13.31.1"
|
||||
"version": "13.31.2"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ const description = 'bos open-balanced-channel';
|
|||
const familyMultiSig = 0;
|
||||
const interval = 1000 * 15;
|
||||
const isOldNodeVersion = () => !Buffer.alloc(0).writeBigUInt64BE;
|
||||
const keyFrom = n => n.substring(0, 66);
|
||||
const minErrorCount = 4;
|
||||
const times = 60;
|
||||
|
||||
|
|
@ -141,7 +142,7 @@ module.exports = ({address, after, ask, lnd, logger, recover}, cbk) => {
|
|||
name: 'key',
|
||||
};
|
||||
|
||||
return ask(initiateChannel, ({key}) => cbk(null, key));
|
||||
return ask(initiateChannel, ({key}) => cbk(null, keyFrom(key)));
|
||||
}],
|
||||
|
||||
// Generate the funding output multi-sig key that will receive all funds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue