X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FNetworkUpdate.java;h=0a85f072062ae04faaef81449ecbf7c6bfc0da2f;hp=a8638f3ca843646cbfe0c0e016cafd59810eee5f;hb=ff3dacec3be60f870d81f6df11bd9fff92aa6047;hpb=1ef2dc8b8a3e0e244ad82ac08e286df489eca4b7 diff --git a/src/main/java/org/ldk/structs/NetworkUpdate.java b/src/main/java/org/ldk/structs/NetworkUpdate.java index a8638f3c..0a85f072 100644 --- a/src/main/java/org/ldk/structs/NetworkUpdate.java +++ b/src/main/java/org/ldk/structs/NetworkUpdate.java @@ -44,7 +44,7 @@ public class NetworkUpdate extends CommonBase { /** * The update to apply via [`NetworkGraph::update_channel`]. */ - public final ChannelUpdate msg; + public final org.ldk.structs.ChannelUpdate msg; private ChannelUpdateMessage(long ptr, bindings.LDKNetworkUpdate.ChannelUpdateMessage obj) { super(null, ptr); long msg = obj.msg; @@ -106,7 +106,7 @@ public class NetworkUpdate extends CommonBase { long ret = bindings.NetworkUpdate_clone(this.ptr); Reference.reachabilityFence(this); if (ret >= 0 && ret <= 4096) { return null; } - NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret); + org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(this); return ret_hu_conv; } @@ -118,7 +118,7 @@ public class NetworkUpdate extends CommonBase { long ret = bindings.NetworkUpdate_channel_update_message(msg == null ? 0 : msg.ptr & ~1); Reference.reachabilityFence(msg); if (ret >= 0 && ret <= 4096) { return null; } - NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret); + org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -131,7 +131,7 @@ public class NetworkUpdate extends CommonBase { Reference.reachabilityFence(short_channel_id); Reference.reachabilityFence(is_permanent); if (ret >= 0 && ret <= 4096) { return null; } - NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret); + org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; } @@ -144,7 +144,7 @@ public class NetworkUpdate extends CommonBase { Reference.reachabilityFence(node_id); Reference.reachabilityFence(is_permanent); if (ret >= 0 && ret <= 4096) { return null; } - NetworkUpdate ret_hu_conv = NetworkUpdate.constr_from_ptr(ret); + org.ldk.structs.NetworkUpdate ret_hu_conv = org.ldk.structs.NetworkUpdate.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); return ret_hu_conv; }