X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FReplyChannelRange.cs;h=3dafe2eff5044e6f36301067053bc53c7541ecb2;hb=152d721883552dd92925833d15687d7d64d01c35;hp=b1f8f09e6a9390c6360bf71e76e3a75ab0b535fe;hpb=239d70ea23fdf148440dfedf9479944dc0fbf394;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/ReplyChannelRange.cs b/c_sharp/src/org/ldk/structs/ReplyChannelRange.cs index b1f8f09e..3dafe2ef 100644 --- a/c_sharp/src/org/ldk/structs/ReplyChannelRange.cs +++ b/c_sharp/src/org/ldk/structs/ReplyChannelRange.cs @@ -173,7 +173,7 @@ public class ReplyChannelRange : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.ReplyChannelRange b) { - bool ret = bindings.ReplyChannelRange_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.ReplyChannelRange_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };