- public UnsignedChannelUpdate(UnsignedChannelUpdate orig) {
- super(bindings.UnsignedChannelUpdate_clone(orig == null ? 0 : orig.ptr & ~1));
- this.ptrs_to.add(orig);
+ public byte[] get_chain_hash() {
+ byte[] ret = bindings.UnsignedChannelUpdate_get_chain_hash(this.ptr);
+ return ret;
+ }
+
+ public void set_chain_hash(byte[] val) {
+ bindings.UnsignedChannelUpdate_set_chain_hash(this.ptr, val);