}
}
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;