From: Matt Corallo Date: Wed, 10 Mar 2021 04:22:58 +0000 (-0500) Subject: Add comment noting duplicate load_outputs_to_watch calls X-Git-Tag: v0.0.98~11^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6ed64cdd6f81d4ab65f37755fcaa5325ca61425f;p=ldk-java Add comment noting duplicate load_outputs_to_watch calls --- diff --git a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java index 4310af1c..0d2055b2 100644 --- a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java +++ b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java @@ -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,