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