Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chantools zombierecovery makeoffer #119

Closed
wyssblitz opened this issue Jan 30, 2024 · 1 comment · Fixed by #120
Closed

chantools zombierecovery makeoffer #119

wyssblitz opened this issue Jan 30, 2024 · 1 comment · Fixed by #120

Comments

@wyssblitz
Copy link

chantools version v0.12.1

using channeltools to rescue 2 zombiechannels I use following command:

chantools zombierecovery makeoffer
--node1_keys preparedkeys-xxxx-xx-xx-.json
--node2_keys preparedkeys-xxxx-xx-xx-.json
--feerate 40

as stated in the docs. The command was run an a raspi (RaspiBlitz) with 4G of RAM.

I receive following errormessage:

_Will send:
500000 sats to our address (bc1qxx) and
500000 sats to the other peer's address (bc1qxx).

Current tally (before fees):
To our address (bc1qxx): 1000000 sats
To their address (bc1qlxx): 1000000 sats
Estimated fees (at rate 40 sat/vByte): 10620 sats
Current tally (after fees):
To our address (bc1qxx): 994690 sats
To their address (bc1qxx): 994690 sats

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x316d0c]

goroutine 1 [running]:
github.com/btcsuite/btcd/txscript.NewTxSigHashes(0x4000127998, {0x11057a0, 0x4000186188})
github.com/btcsuite/[email protected]/txscript/hashcache.go:243 +0x12c
github.com/lightninglabs/chantools/lnd.(*Signer).AddPartialSignature(0x0?, 0x4000127a18, {{0x2312ba5?, 0x13dea5f?}, 0x400056b680?}, 0x40000486e0, {0x4000586d70, 0x47, 0x47}, 0x0)
github.com/lightninglabs/chantools/lnd/signer.go:154 +0x78
main.(*zombieRecoveryMakeOfferCommand).Execute(0x40001a6c00, 0xa48680?, {0x4000017af0?, 0x4000017ac8?, 0x0?})
github.com/lightninglabs/chantools/cmd/chantools/zombierecovery_makeoffer.go:425 +0x1f3c
github.com/spf13/cobra.(*Command).execute(0x4000215b80, {0x400007e9c0, 0x6, 0x6})
github.com/spf13/[email protected]/command.go:852 +0x554
github.com/spf13/cobra.(*Command).ExecuteC(0x19d6f20)
github.com/spf13/[email protected]/command.go:960 +0x310
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/[email protected]/command.go:897
main.main()
github.com/lightninglabs/chantools/cmd/chantools/root.go:137 +0x370_

The error is can be reproduced on several machines.

@guggero
Copy link
Member

guggero commented Jan 30, 2024

Was the channel a Simple Taproot Channel? If yes, they aren't supported by chantools yet...

@guggero guggero linked a pull request Jan 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants