mirror of
https://github.com/alexbosworth/balanceofsatoshis.git
synced 2026-08-13 12:33:37 +02:00
use vout for outpoint reference
This commit is contained in:
parent
66bdab8ccb
commit
e170174847
4 changed files with 450 additions and 504 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Versions
|
||||
|
||||
## 17.1.2
|
||||
|
||||
- `recover-p2pk`: Fix recovering funds not sent to index 0
|
||||
|
||||
## 17.1.1
|
||||
|
||||
- `open`: Add check for anchor channel support and `--skip-anchors-check` flag
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ module.exports = ({id, lnd, request, vout}, cbk) => {
|
|||
|
||||
const scriptPubKey = toOutputScript(createAddress.address, network);
|
||||
|
||||
tx.addInput(hexAsBuffer(id).reverse(), inputIndex, inputSequence);
|
||||
tx.addInput(hexAsBuffer(id).reverse(), vout, inputSequence);
|
||||
tx.addOutput(scriptPubKey, output.tokens);
|
||||
|
||||
// There is only one output on the sweep transaction
|
||||
|
|
|
|||
940
package-lock.json
generated
940
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -27,11 +27,11 @@
|
|||
"bolt07": "1.8.4",
|
||||
"cbor": "9.0.1",
|
||||
"colorette": "2.0.20",
|
||||
"crypto-js": "4.1.1",
|
||||
"crypto-js": "4.2.0",
|
||||
"csv-parse": "5.5.2",
|
||||
"ecpair": "2.1.0",
|
||||
"goldengate": "13.0.2",
|
||||
"grammy": "1.19.1",
|
||||
"grammy": "1.19.2",
|
||||
"hot-formula-parser": "4.0.0",
|
||||
"import-lazy": "4.0.0",
|
||||
"ini": "4.1.1",
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
"description": "Lightning balance CLI",
|
||||
"devDependencies": {
|
||||
"invoices": "3.0.0",
|
||||
"ln-docker-daemons": "6.0.1",
|
||||
"ln-docker-daemons": "6.0.2",
|
||||
"mock-lnd": "1.4.4"
|
||||
},
|
||||
"engines": {
|
||||
|
|
@ -82,5 +82,5 @@
|
|||
"postpublish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t alexbosworth/balanceofsatoshis -t alexbosworth/balanceofsatoshis:$npm_package_version --push .",
|
||||
"test": "npx nyc@15.1.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"
|
||||
},
|
||||
"version": "17.1.1"
|
||||
"version": "17.1.2"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue