mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-19 05:43:55 +01:00
Merge pull request #2981 from dunxen/2024-03-PR2419fixups
Fixups for #2419
This commit is contained in:
commit
0e22b1245a
File diff suppressed because it is too large
Load Diff
@ -144,6 +144,10 @@ pub(crate) const P2WPKH_WITNESS_WEIGHT: u64 = 1 /* num stack items */ +
|
||||
1 /* pubkey length */ +
|
||||
33 /* pubkey */;
|
||||
|
||||
/// Witness weight for satisying a P2TR key-path spend.
|
||||
pub(crate) const P2TR_KEY_PATH_WITNESS_WEIGHT: u64 = 1 /* witness items */
|
||||
+ 1 /* schnorr sig len */ + 64 /* schnorr sig */;
|
||||
|
||||
/// Information about a spendable output to our "payment key".
|
||||
///
|
||||
/// See [`SpendableOutputDescriptor::StaticPaymentOutput`] for more details on how to spend this.
|
||||
|
Loading…
Reference in New Issue
Block a user