[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / HTLCOutputInCommitment.cs
index 4e64beeeabae9a56c6357c409ca9b0d9c0fd9448..e2866c4e764d2807df30c33a27a3aaf1257bec18 100644 (file)
@@ -164,7 +164,7 @@ public class HTLCOutputInCommitment : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.HTLCOutputInCommitment b) {
-               bool ret = bindings.HTLCOutputInCommitment_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.HTLCOutputInCommitment_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };