projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a21decf
)
f fix typos val caught
author
Matt Corallo
<git@bluematt.me>
Tue, 16 Feb 2021 20:57:03 +0000
(15:57 -0500)
committer
Matt Corallo
<git@bluematt.me>
Tue, 16 Feb 2021 20:58:02 +0000
(15:58 -0500)
lightning/src/chain/keysinterface.rs
patch
|
blob
|
history
diff --git
a/lightning/src/chain/keysinterface.rs
b/lightning/src/chain/keysinterface.rs
index 8fd4463f4f68a15d8a308269d8cc7ca425c9d5b0..eaf6e5497f3141d9fea5ace617d23ec3554b5793 100644
(file)
--- a/
lightning/src/chain/keysinterface.rs
+++ b/
lightning/src/chain/keysinterface.rs
@@
-64,7
+64,7
@@
pub struct DynamicP2WSHOutputDescriptor {
}
impl DynamicP2WSHOutputDescriptor {
/// The maximum length a well-formed witness spending one of these should have.
}
impl DynamicP2WSHOutputDescriptor {
/// The maximum length a well-formed witness spending one of these should have.
- // Calculated as 1 byte le
gn
th + 73 byte signature, 1 byte empty vec push, 1 byte length plus
+ // Calculated as 1 byte le
ng
th + 73 byte signature, 1 byte empty vec push, 1 byte length plus
// redeemscript push length.
pub const MAX_WITNESS_LENGTH: usize = 1 + 73 + 1 + chan_utils::REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH + 1;
}
// redeemscript push length.
pub const MAX_WITNESS_LENGTH: usize = 1 + 73 + 1 + chan_utils::REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH + 1;
}
@@
-75,7
+75,7
@@
impl DynamicP2WSHOutputDescriptor {
pub struct StaticCounterpartyPaymentOutputDescriptor {
/// The outpoint which is spendable
pub outpoint: OutPoint,
pub struct StaticCounterpartyPaymentOutputDescriptor {
/// The outpoint which is spendable
pub outpoint: OutPoint,
- /// The output which is reference by the given outpoint
+ /// The output which is reference
d
by the given outpoint
pub output: TxOut,
/// Arbitrary identification information returned by a call to
/// `ChannelKeys::channel_keys_id()`. This may be useful in re-deriving keys used in
pub output: TxOut,
/// Arbitrary identification information returned by a call to
/// `ChannelKeys::channel_keys_id()`. This may be useful in re-deriving keys used in