X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fbatteries%2FChannelManagerConstructor.java;h=d55854084053b629f50e2de311fe8a9c04b1c37b;hp=7a8ce06e3f940491a3a0eed8d29ce28994002785;hb=786c2bf96486a96fe46405571f53296660fe1594;hpb=d9feeb37d75db3732ab7ec17db04d7e717a85cbd diff --git a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java index 7a8ce06e..d5585408 100644 --- a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java +++ b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java @@ -1,7 +1,7 @@ package org.ldk.batteries; import org.jetbrains.annotations.Nullable; -import org.ldk.enums.LDKNetwork; +import org.ldk.enums.Network; import org.ldk.structs.*; import org.ldk.util.TwoTuple; @@ -100,10 +100,10 @@ public class ChannelManagerConstructor { /** * Constructs a channel manager from the given interface implementations */ - public ChannelManagerConstructor(LDKNetwork network, UserConfig config, byte[] current_blockchain_tip_hash, int current_blockchain_tip_height, + public ChannelManagerConstructor(Network network, UserConfig config, byte[] current_blockchain_tip_hash, int current_blockchain_tip_height, KeysInterface keys_interface, FeeEstimator fee_estimator, ChainMonitor chain_monitor, @Nullable NetGraphMsgHandler router, - BroadcasterInterface tx_broadcaster, Logger logger) throws InvalidSerializedDataException { + BroadcasterInterface tx_broadcaster, Logger logger) { channel_monitors = new TwoTuple[0]; channel_manager_latest_block_hash = null; this.chain_monitor = chain_monitor;