File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -968,10 +968,6 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
968
968
/// For lockorder enforcement purposes, we need to have a single site which constructs the
969
969
/// `inner` mutex, otherwise cases where we lock two monitors at the same time (eg in our
970
970
/// PartialEq implementation) we may decide a lockorder violation has occurred.
971
- ///
972
- /// Note that this approach may be somewhat brittle - if this method gets inlined inner mutexes
973
- /// may be considered separate again. In that case we may need to move from considering locks
974
- /// by the instruction pointer to considering locks by the symbol module and line number.
975
971
fn construct_monitor ( imp : ChannelMonitorImpl < Signer > ) -> Self {
976
972
ChannelMonitor { inner : Mutex :: new ( imp) }
977
973
}
You can’t perform that action at this time.
0 commit comments