X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelDetails.ts;fp=ts%2Fstructs%2FChannelDetails.ts;h=fa57ebb17a420d3a99f0edbcaf71235dc94fa64a;hb=c3ae2d6897e5a809459c8d9a72a4b3aa0052c8c8;hp=b7ef907c228ba112e9f4a6d9b4353ce7965cf024;hpb=a9a6f1747f8466e99abd5972bf675d310f6d7222;p=ldk-java diff --git a/ts/structs/ChannelDetails.ts b/ts/structs/ChannelDetails.ts index b7ef907c..fa57ebb1 100644 --- a/ts/structs/ChannelDetails.ts +++ b/ts/structs/ChannelDetails.ts @@ -27,6 +27,17 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ChannelDetails_set_channel_id(this.ptr, val); } + public Option_u64Z get_short_channel_id() { + number ret = bindings.ChannelDetails_get_short_channel_id(this.ptr); + Option_u64Z ret_hu_conv = Option_u64Z.constr_from_ptr(ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + + public void set_short_channel_id(Option_u64Z val) { + bindings.ChannelDetails_set_short_channel_id(this.ptr, val.ptr); + } + public Uint8Array get_remote_network_id() { Uint8Array ret = bindings.ChannelDetails_get_remote_network_id(this.ptr); return ret;