Skip to content

Commit e7784a6

Browse files
committed
f fix typos val caught
1 parent a21decf commit e7784a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/keysinterface.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub struct DynamicP2WSHOutputDescriptor {
6464
}
6565
impl DynamicP2WSHOutputDescriptor {
6666
/// 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
6868
// redeemscript push length.
6969
pub const MAX_WITNESS_LENGTH: usize = 1 + 73 + 1 + chan_utils::REVOKEABLE_REDEEMSCRIPT_MAX_LENGTH + 1;
7070
}
@@ -75,7 +75,7 @@ impl DynamicP2WSHOutputDescriptor {
7575
pub struct StaticCounterpartyPaymentOutputDescriptor {
7676
/// The outpoint which is spendable
7777
pub outpoint: OutPoint,
78-
/// The output which is reference by the given outpoint
78+
/// The output which is referenced by the given outpoint
7979
pub output: TxOut,
8080
/// Arbitrary identification information returned by a call to
8181
/// `ChannelKeys::channel_keys_id()`. This may be useful in re-deriving keys used in

0 commit comments

Comments
 (0)