X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FExpiryTime.cs;h=bd8be08e8678569b4825e9942f1223381ab2cecc;hb=152d721883552dd92925833d15687d7d64d01c35;hp=66aaf8dcacb8c11ce7442d7f1dc9b31fa7264b4e;hpb=c6777737ea14e7814b0fa7d6fe16536f31d4a82b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/ExpiryTime.cs b/c_sharp/src/org/ldk/structs/ExpiryTime.cs index 66aaf8dc..bd8be08e 100644 --- a/c_sharp/src/org/ldk/structs/ExpiryTime.cs +++ b/c_sharp/src/org/ldk/structs/ExpiryTime.cs @@ -52,7 +52,7 @@ public class ExpiryTime : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.ExpiryTime b) { - bool ret = bindings.ExpiryTime_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.ExpiryTime_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };