X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FCommitmentSigned.java;h=33893520e36665172281d0f025384cc844d37562;hp=35100476bd2f7112cb7042c92a1222fed73cfb8e;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hpb=fb06c6af463da9aa188980c750f787f5e936634a diff --git a/src/main/java/org/ldk/structs/CommitmentSigned.java b/src/main/java/org/ldk/structs/CommitmentSigned.java index 35100476..33893520 100644 --- a/src/main/java/org/ldk/structs/CommitmentSigned.java +++ b/src/main/java/org/ldk/structs/CommitmentSigned.java @@ -58,7 +58,7 @@ public class CommitmentSigned extends CommonBase { /** * Constructs a new CommitmentSigned given each field */ - public static CommitmentSigned constructor_new(byte[] channel_id_arg, byte[] signature_arg, byte[][] htlc_signatures_arg) { + public static CommitmentSigned of(byte[] channel_id_arg, byte[] signature_arg, byte[][] htlc_signatures_arg) { long ret = bindings.CommitmentSigned_new(channel_id_arg, signature_arg, htlc_signatures_arg); CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); @@ -86,7 +86,7 @@ public class CommitmentSigned extends CommonBase { /** * Read a CommitmentSigned from a byte array, created by CommitmentSigned_write */ - public static Result_CommitmentSignedDecodeErrorZ constructor_read(byte[] ser) { + public static Result_CommitmentSignedDecodeErrorZ read(byte[] ser) { long ret = bindings.CommitmentSigned_read(ser); Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret); return ret_hu_conv;