File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub struct DynamicP2WSHOutputDescriptor {
64
64
}
65
65
impl DynamicP2WSHOutputDescriptor {
66
66
/// The maximum length a well-formed witness spending one of these should have.
67
- // Calculated as 1 byte legnth + 73 byte signature, 1 byte empty vec push, 1 byte length plus
67
+ // Calculated as 1 byte length + 73 byte signature, 1 byte empty vec push, 1 byte length plus
68
68
// redeemscript push length.
69
69
pub const MAX_WITNESS_LENGTH : usize = 1 + 73 + 1 + chan_utils:: REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH + 1 ;
70
70
}
@@ -75,7 +75,7 @@ impl DynamicP2WSHOutputDescriptor {
75
75
pub struct StaticCounterpartyPaymentOutputDescriptor {
76
76
/// The outpoint which is spendable
77
77
pub outpoint : OutPoint ,
78
- /// The output which is reference by the given outpoint
78
+ /// The output which is referenced by the given outpoint
79
79
pub output : TxOut ,
80
80
/// Arbitrary identification information returned by a call to
81
81
/// `ChannelKeys::channel_keys_id()`. This may be useful in re-deriving keys used in
You can’t perform that action at this time.
0 commit comments