X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FTwoTuple_PublicKeyTypeZ.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FTwoTuple_PublicKeyTypeZ.cs;h=4c3352fd4a5f7a9ef83de2c32aa75efe69b5792f;hb=c6777737ea14e7814b0fa7d6fe16536f31d4a82b;hp=fca997db4300d34d0f200ac4e7e3a6c8f21711f3;hpb=ee72c84d4bf9e2404e02fe20155efb502ceaee1b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/TwoTuple_PublicKeyTypeZ.cs b/c_sharp/src/org/ldk/structs/TwoTuple_PublicKeyTypeZ.cs index fca997db..4c3352fd 100644 --- a/c_sharp/src/org/ldk/structs/TwoTuple_PublicKeyTypeZ.cs +++ b/c_sharp/src/org/ldk/structs/TwoTuple_PublicKeyTypeZ.cs @@ -59,7 +59,7 @@ public class TwoTuple_PublicKeyTypeZ : CommonBase { * Creates a new C2Tuple_PublicKeyTypeZ from the contained elements. */ public static TwoTuple_PublicKeyTypeZ of(byte[] a, org.ldk.structs.Type b) { - long ret = bindings.C2Tuple_PublicKeyTypeZ_new(InternalUtils.check_arr_len(a, 33), b == null ? 0 : b.ptr); + long ret = bindings.C2Tuple_PublicKeyTypeZ_new(InternalUtils.check_arr_len(a, 33), b.ptr); GC.KeepAlive(a); GC.KeepAlive(b); if (ret >= 0 && ret <= 4096) { return null; }