X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FPaymentParameters.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FPaymentParameters.java;h=783d8001f3841a2072790f7b5631b84042a5262c;hb=d2f3f4f519c59885fa071f3f77d582e192ecd436;hp=8e3efc9d013f4eb22a92d400c393894a2ad5da8d;hpb=bbf1ef578b7cfe9fc7d3ad8b6626ae6204e370e5;p=ldk-java diff --git a/src/main/java/org/ldk/structs/PaymentParameters.java b/src/main/java/org/ldk/structs/PaymentParameters.java index 8e3efc9d..783d8001 100644 --- a/src/main/java/org/ldk/structs/PaymentParameters.java +++ b/src/main/java/org/ldk/structs/PaymentParameters.java @@ -203,6 +203,19 @@ public class PaymentParameters extends CommonBase { Reference.reachabilityFence(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 long[] get_previously_failed_channels() { + long[] ret = bindings.PaymentParameters_get_previously_failed_channels(this.ptr); + Reference.reachabilityFence(this); + return ret; + } + /** * 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