[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Confirm.java
index ba9d766df38edd35d89ddd0b111333b0b57851e6..99955fa33e2e6476da0d58916bb6194e425ab6a1 100644 (file)
@@ -117,7 +117,7 @@ public class Confirm extends CommonBase {
                                for (int c = 0; c < txdata_conv_28_len; c++) {
                                        long txdata_conv_28 = txdata[c];
                                        TwoTuple_usizeTransactionZ txdata_conv_28_hu_conv = new TwoTuple_usizeTransactionZ(null, txdata_conv_28);
-                                       txdata_conv_28_hu_conv.ptrs_to.add(this);
+                                       if (txdata_conv_28_hu_conv != null) { txdata_conv_28_hu_conv.ptrs_to.add(this); };
                                        txdata_conv_28_arr[c] = txdata_conv_28_hu_conv;
                                }
                                arg.transactions_confirmed(header, txdata_conv_28_arr, height);