Skip to content

Commit 468a8cc

Browse files
committed
f wording
1 parent 6d17110 commit 468a8cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ where C::Target: chain::Filter,
238238
/// Gets the [`LockedChannelMonitor`] for a given funding outpoint, returning an `Err` if no
239239
/// such [`ChannelMonitor`] is currently being monitored for.
240240
///
241-
/// Note that the result holds a mutex our monitor state, and should not be held indefinitely.
241+
/// Note that the result holds a mutex over our monitor set, and should not be held
242+
/// indefinitely.
242243
pub fn get_monitor(&self, funding_txo: OutPoint) -> Result<LockedChannelMonitor<'_, ChannelSigner>, ()> {
243244
let lock = self.monitors.read().unwrap();
244245
if lock.get(&funding_txo).is_some() {

0 commit comments

Comments
 (0)