File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1058,11 +1058,11 @@ pub struct ChannelTransactionParameters {
10581058 /// If a channel was funded with transaction A, and later spliced with transaction B, this field
10591059 /// tracks the txid of transaction A.
10601060 ///
1061- /// See [`compute_funding_key_tweak`] and [`ChannelSigner::pubkeys `] for more context on how
1062- /// this may be used.
1061+ /// See [`compute_funding_key_tweak`] and [`ChannelSigner::new_funding_pubkey `] for more context
1062+ /// on how this may be used.
10631063 ///
10641064 /// [`compute_funding_key_tweak`]: crate::sign::compute_funding_key_tweak
1065- /// [`ChannelSigner::pubkeys `]: crate::sign::ChannelSigner::pubkeys
1065+ /// [`ChannelSigner::new_funding_pubkey `]: crate::sign::ChannelSigner::new_funding_pubkey
10661066 pub splice_parent_funding_txid : Option < Txid > ,
10671067 /// This channel's type, as negotiated during channel open. For old objects where this field
10681068 /// wasn't serialized, it will default to static_remote_key at deserialization.
Original file line number Diff line number Diff line change @@ -83,15 +83,15 @@ impl Clone for TestChannelSigner {
8383 fn clone ( & self ) -> Self {
8484 // Generally, a signer should only ever be cloned when a ChannelMonitor is cloned (which
8585 // doesn't fetch the pubkeys at all). This isn't really a critical test, but if it
86- // it ever does fail we should make sure the clone is hapening in a sensible place.
86+ // ever does fail we should make sure the clone is happening in a sensible place.
8787 assert ! ( !self . have_fetched_pubkeys. load( Ordering :: Acquire ) ) ;
8888 Self {
8989 inner : self . inner . clone ( ) ,
9090 state : Arc :: clone ( & self . state ) ,
9191 disable_revocation_policy_check : self . disable_revocation_policy_check ,
9292 disable_all_state_policy_checks : self . disable_all_state_policy_checks ,
93- // In some tests we clone a `ChannelMonitor` multiple times, so have to initialize with
94- // `!have_fetched_pubkeys` to ensure the above assertion passes.
93+ // In some tests we clone a `ChannelMonitor` multiple times, so we have to initialize
94+ // with `!have_fetched_pubkeys` to ensure the above assertion passes.
9595 have_fetched_pubkeys : AtomicBool :: new ( false ) ,
9696 }
9797 }
You can’t perform that action at this time.
0 commit comments