X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FUpdateFee.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FUpdateFee.java;h=fa186fb4fdb4bc2a46bf2cac2660e0ea493f7e9f;hb=246459dcbc3be28c38b4951140a5933f4b3aa024;hp=a939f3f18021f9971a109503dbb0b67f3c861c03;hpb=b52dde859c138f9257499496749d1eb89f9f6f43;p=ldk-java diff --git a/src/main/java/org/ldk/structs/UpdateFee.java b/src/main/java/org/ldk/structs/UpdateFee.java index a939f3f1..fa186fb4 100644 --- a/src/main/java/org/ldk/structs/UpdateFee.java +++ b/src/main/java/org/ldk/structs/UpdateFee.java @@ -14,13 +14,6 @@ public class UpdateFee extends CommonBase { if (ptr != 0) { bindings.UpdateFee_free(ptr); } } - public UpdateFee clone() { - long ret = bindings.UpdateFee_clone(this.ptr); - UpdateFee ret_hu_conv = new UpdateFee(null, ret); - ret_hu_conv.ptrs_to.add(this); - return ret_hu_conv; - } - public byte[] get_channel_id() { byte[] ret = bindings.UpdateFee_get_channel_id(this.ptr); return ret; @@ -46,15 +39,21 @@ public class UpdateFee extends CommonBase { return ret_hu_conv; } + public UpdateFee clone() { + long ret = bindings.UpdateFee_clone(this.ptr); + UpdateFee ret_hu_conv = new UpdateFee(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + public byte[] write() { byte[] ret = bindings.UpdateFee_write(this.ptr); return ret; } - public static UpdateFee constructor_read(byte[] ser) { + public static Result_UpdateFeeDecodeErrorZ constructor_read(byte[] ser) { long ret = bindings.UpdateFee_read(ser); - UpdateFee ret_hu_conv = new UpdateFee(null, ret); - ret_hu_conv.ptrs_to.add(ret_hu_conv); + Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret); return ret_hu_conv; }