Skip to content

Commit e167da9

Browse files
f - pending_msg_events remove std req for try_write
1 parent 3f20889 commit e167da9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,10 +1165,7 @@ macro_rules! handle_error {
11651165
// entering the macro.
11661166
assert!($self.channel_state.try_lock().is_ok());
11671167
assert!($self.pending_events.try_lock().is_ok());
1168-
#[cfg(feature = "std")]
1169-
{
1170-
assert!($self.per_peer_state.try_write().is_ok());
1171-
}
1168+
assert!($self.per_peer_state.try_write().is_ok());
11721169
}
11731170

11741171
let mut msg_events = Vec::with_capacity(2);

0 commit comments

Comments
 (0)