X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FBlindedHop.cs;h=5829ee0f53b97148fd3fda85aeebe9b9c4571a3b;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=95bbe09eee7fe40388f131920b00288480190ee1;hpb=8de7213fbf663ff60322896282dad51e8ab2f001;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/BlindedHop.cs b/c_sharp/src/org/ldk/structs/BlindedHop.cs index 95bbe09e..5829ee0f 100644 --- a/c_sharp/src/org/ldk/structs/BlindedHop.cs +++ b/c_sharp/src/org/ldk/structs/BlindedHop.cs @@ -108,7 +108,7 @@ public class BlindedHop : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.BlindedHop b) { - bool ret = bindings.BlindedHop_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.BlindedHop_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };