Update auto-generated bindings to 0.0.102
[ldk-java] / ts / structs / ReadOnlyNetworkGraph.ts
index 54cb431a3ca1126e4bd90eeee466bee445ff15a5..d60088fc4e36940bdf6f5ab9791634129c160d74 100644 (file)
@@ -18,4 +18,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.ReadOnlyNetworkGraph_free(this.ptr);
                     }
                 }
+       public Option_CVec_NetAddressZZ get_addresses(Uint8Array pubkey) {
+               number ret = bindings.ReadOnlyNetworkGraph_get_addresses(this.ptr, pubkey);
+               Option_CVec_NetAddressZZ ret_hu_conv = Option_CVec_NetAddressZZ.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }