-public class UpdateFailHTLC extends CommonBase {
- UpdateFailHTLC(Object _dummy, long ptr) { super(ptr); }
- @Override @SuppressWarnings("deprecation")
- protected void finalize() throws Throwable {
- super.finalize();
- if (ptr != 0) { bindings.UpdateFailHTLC_free(ptr); }
+
+
+ export default class UpdateFailHTLC extends CommonBase {
+ constructor(_dummy: object, ptr: number) {
+ super(ptr);
+ }
+
+
+ protected finalize() {
+ super.finalize();
+
+ if (this.ptr != 0) {
+ bindings.UpdateFailHTLC_free(this.ptr);
+ }
+ }
+ public Uint8Array get_channel_id() {
+ Uint8Array ret = bindings.UpdateFailHTLC_get_channel_id(this.ptr);
+ return ret;