mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 10:30:29 +01:00
lightningd: use P2TR for anchor spends.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ad1e9f7979
commit
836204b1f2
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ static struct wally_psbt *anchor_psbt(const tal_t *ctx,
|
||||||
|
|
||||||
bip32_pubkey(ld, &final_key, channel->final_key_idx);
|
bip32_pubkey(ld, &final_key, channel->final_key_idx);
|
||||||
psbt_append_output(psbt,
|
psbt_append_output(psbt,
|
||||||
scriptpubkey_p2wpkh(tmpctx, &final_key),
|
scriptpubkey_p2tr(tmpctx, &final_key),
|
||||||
change);
|
change);
|
||||||
return psbt;
|
return psbt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue