Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / HTLCUpdate.java
index 5951ab2e22a28fd485b1bb8f978a4ac7cd5b92df..6f6a08f7a903647f5c829671af79cca44a22094e 100644 (file)
@@ -10,8 +10,6 @@ import java.util.Arrays;
  * Simple structure sent back by `chain::Watch` when an HTLC from a forward channel is detected on
  * chain. Used to update the corresponding HTLC in the backward channel. Failing to pass the
  * preimage claim backward will lead to loss of funds.
- * 
- * [`chain::Watch`]: ../trait.Watch.html
  */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class HTLCUpdate extends CommonBase {
@@ -43,7 +41,7 @@ public class HTLCUpdate extends CommonBase {
        /**
         * Read a HTLCUpdate from a byte array, created by HTLCUpdate_write
         */
-       public static Result_HTLCUpdateDecodeErrorZ constructor_read(byte[] ser) {
+       public static Result_HTLCUpdateDecodeErrorZ read(byte[] ser) {
                long ret = bindings.HTLCUpdate_read(ser);
                Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
                return ret_hu_conv;