bindings.DataLossProtect_free(this.ptr);
}
}
- public DataLossProtect clone() {
- number ret = bindings.DataLossProtect_clone(this.ptr);
- const ret_hu_conv: DataLossProtect = new DataLossProtect(null, ret);
- ret_hu_conv.ptrs_to.add(this);
- return ret_hu_conv;
- }
-
public Uint8Array get_your_last_per_commitment_secret() {
Uint8Array ret = bindings.DataLossProtect_get_your_last_per_commitment_secret(this.ptr);
return ret;
return ret_hu_conv;
}
+ public DataLossProtect clone() {
+ number ret = bindings.DataLossProtect_clone(this.ptr);
+ const ret_hu_conv: DataLossProtect = new DataLossProtect(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}