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