X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_TrustedCommitmentTransactionNoneZ.cs;h=b87c33ea62df1755b140200e945cb13c1c8f89fb;hb=HEAD;hp=7a8dca9f81ed2d2cf2fc693821d8f7565c68aa8b;hpb=8aa8a96fc6d8fcdd3fbb419b4b4c12482af14938;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Result_TrustedCommitmentTransactionNoneZ.cs b/c_sharp/src/org/ldk/structs/Result_TrustedCommitmentTransactionNoneZ.cs index 7a8dca9f..b87c33ea 100644 --- a/c_sharp/src/org/ldk/structs/Result_TrustedCommitmentTransactionNoneZ.cs +++ b/c_sharp/src/org/ldk/structs/Result_TrustedCommitmentTransactionNoneZ.cs @@ -37,7 +37,7 @@ public class Result_TrustedCommitmentTransactionNoneZ : CommonBase { * Creates a new CResult_TrustedCommitmentTransactionNoneZ in the success state. */ public static Result_TrustedCommitmentTransactionNoneZ ok(org.ldk.structs.TrustedCommitmentTransaction o) { - long ret = bindings.CResult_TrustedCommitmentTransactionNoneZ_ok(o == null ? 0 : o.ptr); + long ret = bindings.CResult_TrustedCommitmentTransactionNoneZ_ok(o.ptr); GC.KeepAlive(o); if (ret >= 0 && ret <= 4096) { return null; } Result_TrustedCommitmentTransactionNoneZ ret_hu_conv = Result_TrustedCommitmentTransactionNoneZ.constr_from_ptr(ret);