/**
* Creates a new CResult_HolderCommitmentTransactionDecodeErrorZ in the success state.
*/
- public static Result_HolderCommitmentTransactionDecodeErrorZ ok(HolderCommitmentTransaction o) {
+ public static Result_HolderCommitmentTransactionDecodeErrorZ ok(org.ldk.structs.HolderCommitmentTransaction o) {
long ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_ok(o == null ? 0 : o.ptr);
Reference.reachabilityFence(o);
if (ret >= 0 && ret <= 4096) { return null; }
/**
* Creates a new CResult_HolderCommitmentTransactionDecodeErrorZ in the error state.
*/
- public static Result_HolderCommitmentTransactionDecodeErrorZ err(DecodeError e) {
+ public static Result_HolderCommitmentTransactionDecodeErrorZ err(org.ldk.structs.DecodeError e) {
long ret = bindings.CResult_HolderCommitmentTransactionDecodeErrorZ_err(e.ptr);
Reference.reachabilityFence(e);
if (ret >= 0 && ret <= 4096) { return null; }