From: Matt Corallo Date: Fri, 28 Oct 2022 03:27:37 +0000 (+0000) Subject: [Java] Update ChannelManagerConstructor to latest upstream API X-Git-Tag: v0.0.112.0^2~7 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ecd3b31c41934796f530c74e72f1632ec8b66da6;p=ldk-java [Java] Update ChannelManagerConstructor to latest upstream API --- diff --git a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java index dc1cee48..07994d5f 100644 --- a/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java +++ b/src/main/java/org/ldk/batteries/ChannelManagerConstructor.java @@ -132,7 +132,7 @@ public class ChannelManagerConstructor { graph_msg_handler.as_RoutingMessageHandler(), ignoring_handler.as_OnionMessageHandler(), ((Result_SecretKeyNoneZ.Result_SecretKeyNoneZ_OK)node_secret).res, - System.currentTimeMillis() / 1000, + (int)(System.currentTimeMillis() / 1000), random_data, logger, ignoring_handler.as_CustomMessageHandler()); } else { this.graph_msg_handler = null; @@ -140,7 +140,7 @@ public class ChannelManagerConstructor { ignoring_handler.as_RoutingMessageHandler(), ignoring_handler.as_OnionMessageHandler(), ((Result_SecretKeyNoneZ.Result_SecretKeyNoneZ_OK)node_secret).res, - System.currentTimeMillis() / 1000, + (int)(System.currentTimeMillis() / 1000), random_data, logger, ignoring_handler.as_CustomMessageHandler()); } NioPeerHandler nio_peer_handler = null; @@ -184,7 +184,7 @@ public class ChannelManagerConstructor { graph_msg_handler.as_RoutingMessageHandler(), ignoring_handler.as_OnionMessageHandler(), ((Result_SecretKeyNoneZ.Result_SecretKeyNoneZ_OK)node_secret).res, - System.currentTimeMillis() / 1000, + (int)(System.currentTimeMillis() / 1000), random_data, logger, ignoring_handler.as_CustomMessageHandler()); } else { this.graph_msg_handler = null; @@ -192,7 +192,7 @@ public class ChannelManagerConstructor { ignoring_handler.as_RoutingMessageHandler(), ignoring_handler.as_OnionMessageHandler(), ((Result_SecretKeyNoneZ.Result_SecretKeyNoneZ_OK)node_secret).res, - System.currentTimeMillis() / 1000, + (int)(System.currentTimeMillis() / 1000), random_data, logger, ignoring_handler.as_CustomMessageHandler()); } NioPeerHandler nio_peer_handler = null;