X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=csharp_strings.py;h=e1c2708e82e32ebcce0ea8dabe509c012675397a;hb=dbcef74f9feb03aa6d8d0ee07854740cac926f6b;hp=1121f93413fc2975e1a398b9235d6f41d4dbb7f3;hpb=cb6890a47e847e5b858d91b5d2be6c15c564252a;p=ldk-java diff --git a/csharp_strings.py b/csharp_strings.py index 1121f934..e1c2708e 100644 --- a/csharp_strings.py +++ b/csharp_strings.py @@ -581,7 +581,7 @@ int CS_LDK_register_{fn_suffix}_invoker(invoker_{fn_suffix} invoker) {{ elif elem_ty.rust_obj == "LDKU5": return "InternalUtils.getU8ArrayElem(" + arr_name + ", " + idx + ")" elif elem_ty.rust_obj == "LDKStr": - return "InternalUtils.getU32ArrayElem(" + arr_name + ", " + idx + ")" + return "InternalUtils.getU64ArrayElem(" + arr_name + ", " + idx + ")" else: assert False