X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FHTLCUpdate.java;h=57f94ec2202165b714d91a7712ce81070e476f1c;hb=9e8763c71cd61d55be7c869d973524f75209a3f3;hp=f860f5dd8d464efbb8c23af4ee182f3a0d4d12ae;hpb=2f243794d7f279cdc81628a94533b70404bbe888;p=ldk-java diff --git a/src/main/java/org/ldk/structs/HTLCUpdate.java b/src/main/java/org/ldk/structs/HTLCUpdate.java index f860f5dd..57f94ec2 100644 --- a/src/main/java/org/ldk/structs/HTLCUpdate.java +++ b/src/main/java/org/ldk/structs/HTLCUpdate.java @@ -26,10 +26,9 @@ public class HTLCUpdate extends CommonBase { return ret; } - public static HTLCUpdate constructor_read(byte[] ser) { + public static Result_HTLCUpdateDecodeErrorZ constructor_read(byte[] ser) { long ret = bindings.HTLCUpdate_read(ser); - HTLCUpdate ret_hu_conv = new HTLCUpdate(null, ret); - ret_hu_conv.ptrs_to.add(ret_hu_conv); + Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret); return ret_hu_conv; }