Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / TrustedClosingTransaction.java
index 027f9cd6751e793611ce8a1b7144c8ade77b0c5e..65fca265338a0061128a80d300a240ecb13da203 100644 (file)
@@ -47,7 +47,7 @@ public class TrustedClosingTransaction extends CommonBase {
         * because we are about to broadcast a holder transaction.
         */
        public byte[] sign(byte[] funding_key, byte[] funding_redeemscript, long channel_value_satoshis) {
-               byte[] ret = bindings.TrustedClosingTransaction_sign(this.ptr, funding_key, funding_redeemscript, channel_value_satoshis);
+               byte[] ret = bindings.TrustedClosingTransaction_sign(this.ptr, InternalUtils.check_arr_len(funding_key, 32), funding_redeemscript, channel_value_satoshis);
                return ret;
        }