[TS] Update auto-generated bindings with changes + upstream changes
[ldk-java] / ts / structs / PaymentParameters.mts
index 510946030724d0d1b9836f013ea9271c0223dff3..a71ce7ded4c0439df40332828ba5303fea830bf4 100644 (file)
@@ -526,6 +526,19 @@ export class PaymentParameters extends CommonBase {
                bindings.PaymentParameters_set_max_channel_saturation_power_of_half(this.ptr, val);
        }
 
+       /**
+        * A list of SCIDs which this payment was previously attempted over and which caused the
+        * payment to fail. Future attempts for the same payment shouldn't be relayed through any of
+        * these SCIDs.
+        * 
+        * Returns a copy of the field.
+        */
+       public get_previously_failed_channels(): bigint[] {
+               const ret: number = bindings.PaymentParameters_get_previously_failed_channels(this.ptr);
+               const ret_conv: bigint[] = bindings.decodeUint64Array(ret);
+               return ret_conv;
+       }
+
        /**
         * A list of SCIDs which this payment was previously attempted over and which caused the
         * payment to fail. Future attempts for the same payment shouldn't be relayed through any of