Skip to content

Commit 2df81a7

Browse files
committed
Don't export HashMap in lightning-persister to C bindings
1 parent 0a11eb1 commit 2df81a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning-persister/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ impl FilesystemPersister {
101101
}
102102

103103
/// Read `ChannelMonitor`s from disk.
104+
///
105+
/// (C-not exported) as HashMaps aren't currently mapped in our C bindings
104106
pub fn read_channelmonitors<Signer: Sign, K: Deref> (
105107
&self, keys_manager: K
106108
) -> Result<HashMap<OutPoint, (BlockHash, ChannelMonitor<Signer>)>, std::io::Error>

0 commit comments

Comments
 (0)