X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FPing.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FPing.cs;h=9888a26a9016f70e194adeb1b426b5d3b2b253f6;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=cf5d834d8a2c721d5b750e9db0b3099d3866a6ad;hpb=12fdbefaac81d5b4be6bb67addd6dcd7c46a182b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Ping.cs b/c_sharp/src/org/ldk/structs/Ping.cs index cf5d834d..9888a26a 100644 --- a/c_sharp/src/org/ldk/structs/Ping.cs +++ b/c_sharp/src/org/ldk/structs/Ping.cs @@ -106,7 +106,7 @@ public class Ping : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.Ping b) { - bool ret = bindings.Ping_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.Ping_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };