Merge pull request #7 from TheBlueMatt/2021-03-tweaks
[ldk-java] / src / main / java / org / ldk / batteries / ChannelManagerConstructor.java
index 4310af1cdc314f7c038def6befabca92d5b5a5a5..0d2055b21a860c478ee4fee2f93a150aeb0bb6b7 100644 (file)
@@ -40,6 +40,8 @@ public class ChannelManagerConstructor {
      * Deserializes a channel manager and a set of channel monitors from the given serialized copies and interface implementations
      *
      * @param filter If provided, the outputs which were previously registered to be monitored for will be loaded into the filter.
+     *               Note that if the provided Watch is a ChainWatch and has an associated filter, the previously registered
+     *               outputs will be loaded when chain_sync_completed is called.
      */
     public ChannelManagerConstructor(byte[] channel_manager_serialized, byte[][] channel_monitors_serialized,
                                      KeysInterface keys_interface, FeeEstimator fee_estimator, Watch chain_watch, @Nullable Filter filter,