X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FNodeAlias.cs;h=8eaed432926fa708be59342805569d46f5485ba0;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=8121cf1423f4090a4ae1e23e3a0b95e97203dfc6;hpb=12fdbefaac81d5b4be6bb67addd6dcd7c46a182b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/NodeAlias.cs b/c_sharp/src/org/ldk/structs/NodeAlias.cs index 8121cf14..8eaed432 100644 --- a/c_sharp/src/org/ldk/structs/NodeAlias.cs +++ b/c_sharp/src/org/ldk/structs/NodeAlias.cs @@ -80,7 +80,7 @@ public class NodeAlias : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.NodeAlias b) { - bool ret = bindings.NodeAlias_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.NodeAlias_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };