Skip to content

Commit 8d0e77c

Browse files
committed
re-own channel monitor clone after passing it to watch.watch_channel
1 parent ba78c49 commit 8d0e77c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/batteries/ChannelManagerConstructor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ public class ChannelManagerConstructor {
159159
if !monitorWatchResult.isOk() {
160160
print("Some error occurred with a chainMonitorWatch.watch_channel call")
161161
}
162+
monitorClone.cOpaqueStruct?.is_owned = true
162163
}
163164

164165
self.customPersister = CustomChannelManagerPersister(handler: persister)

0 commit comments

Comments
 (0)