projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings
[ldk-java]
/
ts
/
structs
/
HTLCFailChannelUpdate.ts
diff --git
a/ts/structs/HTLCFailChannelUpdate.ts
b/ts/structs/HTLCFailChannelUpdate.ts
index 2d33a1385654091867eb3b844375709eb0458525..b89c14622ff4f5af312ea9b3c1068a6dd4774c4b 100644
(file)
--- a/
ts/structs/HTLCFailChannelUpdate.ts
+++ b/
ts/structs/HTLCFailChannelUpdate.ts
@@
-29,6
+29,7
@@
export class ChannelUpdateMessage extends HTLCFailChannelUpdate {
super(null, ptr);
const msg: number = obj.msg;
const msg_hu_conv: ChannelUpdate = new ChannelUpdate(null, msg);
super(null, ptr);
const msg: number = obj.msg;
const msg_hu_conv: ChannelUpdate = new ChannelUpdate(null, msg);
+ msg_hu_conv.ptrs_to.add(this);
this.msg = msg_hu_conv;
}
}
this.msg = msg_hu_conv;
}
}
@@
-49,4
+50,12
@@
export class NodeFailure extends HTLCFailChannelUpdate {
this.node_id = obj.node_id;
this.is_permanent = obj.is_permanent;
}
this.node_id = obj.node_id;
this.is_permanent = obj.is_permanent;
}
+}
+ public HTLCFailChannelUpdate clone() {
+ number ret = bindings.HTLCFailChannelUpdate_clone(this.ptr);
+ HTLCFailChannelUpdate ret_hu_conv = HTLCFailChannelUpdate.constr_from_ptr(ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}
}