mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-20 13:27:36 +02:00
If the nSequence in the tx it produces is not at least the value we test in the script, the tx will always fail: ``` error code: -26\nerror message:\nmandatory-script-verify-flag-failed (Locktime requirement not satisfied) ``` If we have a lease, the nSequence is max(lease-time-remaining, to-self-delay), so have onchaind tell lightningd the correct nSequence. Fixes: https://github.com/ElementsProject/lightning/issues/7460 Reported-by: https://github.com/pabpas Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-EXPERIMENTAL: Correctly collect our own (delayed) funds if we have a unilateral close when we are still offering a lease. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| onchainstress-data.gz | ||
| run-grind_feerate-bug.c | ||
| run-grind_feerate.c | ||