projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0cecd
)
make SimpleManyChannelMonitor.monitors public
author
Devrandom
<c1.devrandom@niftybox.net>
Sat, 4 Jul 2020 08:18:54 +0000
(
01:18
-0700)
committer
Devrandom
<c1.devrandom@niftybox.net>
Tue, 11 Aug 2020 07:23:31 +0000
(09:23 +0200)
lightning/src/ln/channelmonitor.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/channelmonitor.rs
b/lightning/src/ln/channelmonitor.rs
index 1cb0070c8374eedc15c24026fd89194e1cf3c3a4..b69636e0797b5ef9327da195f785474127d92d0f 100644
(file)
--- a/
lightning/src/ln/channelmonitor.rs
+++ b/
lightning/src/ln/channelmonitor.rs
@@
-175,10
+175,8
@@
pub struct SimpleManyChannelMonitor<Key, ChanSigner: ChannelKeys, T: Deref, F: D
L::Target: Logger,
C::Target: ChainWatchInterface,
{
- #[cfg(test)] // Used in ChannelManager tests to manipulate channels directly
+ /// The monitors
pub monitors: Mutex<HashMap<Key, ChannelMonitor<ChanSigner>>>,
- #[cfg(not(test))]
- monitors: Mutex<HashMap<Key, ChannelMonitor<ChanSigner>>>,
chain_monitor: C,
broadcaster: T,
logger: L,