Update auto-generated bindings
[ldk-java] / ts / structs / ReadOnlyNetworkGraph.ts
index d60088fc4e36940bdf6f5ab9791634129c160d74..b0a1e25efb38372f64733e481df42246ac1daad3 100644 (file)
@@ -19,7 +19,7 @@ import * as bindings from '../bindings' // TODO: figure out location
                     }
                 }
        public Option_CVec_NetAddressZZ get_addresses(Uint8Array pubkey) {
-               number ret = bindings.ReadOnlyNetworkGraph_get_addresses(this.ptr, pubkey);
+               number ret = bindings.ReadOnlyNetworkGraph_get_addresses(this.ptr, InternalUtils.check_arr_len(pubkey, 33));
                Option_CVec_NetAddressZZ ret_hu_conv = Option_CVec_NetAddressZZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;