Bindings updates
[ldk-java] / src / main / java / org / ldk / structs / Result_RoutingFeesDecodeErrorZ.java
index eda7ce3e11b5efc7f9777e3b1e7ba318a4bfe407..1f190465ca76125bd52f2103724073e184462cb8 100644 (file)
@@ -25,6 +25,7 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long res = bindings.LDKCResult_RoutingFeesDecodeErrorZ_get_ok(ptr);
                        RoutingFees res_hu_conv = new RoutingFees(null, res);
+                       res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
                public Result_RoutingFeesDecodeErrorZ_OK(RoutingFees res) {
@@ -39,6 +40,7 @@ public class Result_RoutingFeesDecodeErrorZ extends CommonBase {
                        super(_dummy, ptr);
                        long err = bindings.LDKCResult_RoutingFeesDecodeErrorZ_get_err(ptr);
                        DecodeError err_hu_conv = new DecodeError(null, err);
+                       err_hu_conv.ptrs_to.add(this);
                        this.err = err_hu_conv;
                }
                public Result_RoutingFeesDecodeErrorZ_Err(DecodeError err) {