private Result_CommitmentSignedDecodeErrorZ_OK(Object _dummy, long ptr) {
super(_dummy, ptr);
long res = bindings.CResult_CommitmentSignedDecodeErrorZ_get_ok(ptr);
- CommitmentSigned res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new CommitmentSigned(null, res); }
+ org.ldk.structs.CommitmentSigned res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new org.ldk.structs.CommitmentSigned(null, res); }
res_hu_conv.ptrs_to.add(this);
this.res = res_hu_conv;
}
private Result_CommitmentSignedDecodeErrorZ_Err(Object _dummy, long ptr) {
super(_dummy, ptr);
long err = bindings.CResult_CommitmentSignedDecodeErrorZ_get_err(ptr);
- DecodeError err_hu_conv = null; if (err < 0 || err > 4096) { err_hu_conv = new DecodeError(null, err); }
+ org.ldk.structs.DecodeError err_hu_conv = null; if (err < 0 || err > 4096) { err_hu_conv = new org.ldk.structs.DecodeError(null, err); }
err_hu_conv.ptrs_to.add(this);
this.err = err_hu_conv;
}