X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FBolt11Invoice.cs;h=753798b9dbfe4a75e1e9126f370acde779ebd8c5;hb=dbcef74f9feb03aa6d8d0ee07854740cac926f6b;hp=81fbf4029160a29a15592939f2a25e6781909ebe;hpb=cb6890a47e847e5b858d91b5d2be6c15c564252a;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Bolt11Invoice.cs b/c_sharp/src/org/ldk/structs/Bolt11Invoice.cs index 81fbf402..753798b9 100644 --- a/c_sharp/src/org/ldk/structs/Bolt11Invoice.cs +++ b/c_sharp/src/org/ldk/structs/Bolt11Invoice.cs @@ -307,7 +307,7 @@ public class Bolt11Invoice : CommonBase { int ret_conv_8_len = InternalUtils.getArrayLength(ret); string[] ret_conv_8_arr = new string[ret_conv_8_len]; for (int i = 0; i < ret_conv_8_len; i++) { - long ret_conv_8 = InternalUtils.getU32ArrayElem(ret, i); + long ret_conv_8 = InternalUtils.getU64ArrayElem(ret, i); string ret_conv_8_conv = InternalUtils.decodeString(ret_conv_8); ret_conv_8_arr[i] = ret_conv_8_conv; }