@@ -1187,7 +1187,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1187
1187
payment_hash, payment_preimage, broadcaster, fee_estimator, logger)
1188
1188
}
1189
1189
1190
- // Broadcasts the latest commitment transaction only if it's safe to do so.
1190
+ /// Broadcasts the latest commitment transaction only if it's safe to do so.
1191
1191
pub ( crate ) fn maybe_broadcast_latest_holder_commitment_txn < B : Deref , L : Deref > (
1192
1192
& self ,
1193
1193
broadcaster : & B ,
@@ -1199,8 +1199,8 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1199
1199
self . inner . lock ( ) . unwrap ( ) . maybe_broadcast_latest_holder_commitment_txn ( broadcaster, logger)
1200
1200
}
1201
1201
1202
- // Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
1203
- // due to missing information.
1202
+ /// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
1203
+ /// due to missing information.
1204
1204
pub fn force_broadcast_latest_holder_commitment_txn_unsafe < B : Deref , L : Deref > (
1205
1205
& self ,
1206
1206
broadcaster : & B ,
@@ -2169,7 +2169,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
2169
2169
}
2170
2170
}
2171
2171
2172
- // Broadcasts the latest commitment transaction only if it's safe to do so.
2172
+ /// Broadcasts the latest commitment transaction only if it's safe to do so.
2173
2173
pub fn maybe_broadcast_latest_holder_commitment_txn < B : Deref , L : Deref > ( & mut self , broadcaster : & B , logger : & L )
2174
2174
where B :: Target : BroadcasterInterface ,
2175
2175
L :: Target : Logger ,
@@ -2185,8 +2185,8 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
2185
2185
}
2186
2186
}
2187
2187
2188
- // Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
2189
- // due to missing information.
2188
+ /// Broadcasts the latest commitment transaction, even if we can't ensure it's safe to do so
2189
+ /// due to missing information.
2190
2190
pub fn force_broadcast_latest_holder_commitment_txn_unsafe < B : Deref , L : Deref > ( & mut self , broadcaster : & B , logger : & L )
2191
2191
where B :: Target : BroadcasterInterface ,
2192
2192
L :: Target : Logger ,
0 commit comments