Skip to content

Commit 836204b

Browse files
committed
lightningd: use P2TR for anchor spends.
Signed-off-by: Rusty Russell <[email protected]>
1 parent ad1e9f7 commit 836204b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightningd/anchorspend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static struct wally_psbt *anchor_psbt(const tal_t *ctx,
251251

252252
bip32_pubkey(ld, &final_key, channel->final_key_idx);
253253
psbt_append_output(psbt,
254-
scriptpubkey_p2wpkh(tmpctx, &final_key),
254+
scriptpubkey_p2tr(tmpctx, &final_key),
255255
change);
256256
return psbt;
257257
}

0 commit comments

Comments
 (0)