X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FReadOnlyNetworkGraph.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FReadOnlyNetworkGraph.java;h=81f29a32115ef3fdfa425720a76830bd961421f8;hb=07d5d868dfe064aadb28a7f7ca6002c16be9723d;hp=b7e08370559c11282b39f002b9e26d3a1acc5612;hpb=32973ea2749f8efd05b543dd774763513013b38b;p=ldk-java diff --git a/src/main/java/org/ldk/structs/ReadOnlyNetworkGraph.java b/src/main/java/org/ldk/structs/ReadOnlyNetworkGraph.java index b7e08370..81f29a32 100644 --- a/src/main/java/org/ldk/structs/ReadOnlyNetworkGraph.java +++ b/src/main/java/org/ldk/structs/ReadOnlyNetworkGraph.java @@ -82,12 +82,12 @@ public class ReadOnlyNetworkGraph extends CommonBase implements AutoCloseable { * Returns None if the requested node is completely unknown, * or if node announcement for the node was never received. */ - public Option_CVec_NetAddressZZ get_addresses(byte[] pubkey) { + public Option_CVec_SocketAddressZZ get_addresses(byte[] pubkey) { long ret = bindings.ReadOnlyNetworkGraph_get_addresses(this.ptr, InternalUtils.check_arr_len(pubkey, 33)); Reference.reachabilityFence(this); Reference.reachabilityFence(pubkey); if (ret >= 0 && ret <= 4096) { return null; } - org.ldk.structs.Option_CVec_NetAddressZZ ret_hu_conv = org.ldk.structs.Option_CVec_NetAddressZZ.constr_from_ptr(ret); + org.ldk.structs.Option_CVec_SocketAddressZZ ret_hu_conv = org.ldk.structs.Option_CVec_SocketAddressZZ.constr_from_ptr(ret); if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); }; return ret_hu_conv; }