X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FDelayedPaymentOutputDescriptor.java;h=faebf6cad5cb1710363f7544fbd681d74f43957f;hb=d2f3f4f519c59885fa071f3f77d582e192ecd436;hp=d0480df25bad257f06f1e8698a513700f29afe19;hpb=bbf1ef578b7cfe9fc7d3ad8b6626ae6204e370e5;p=ldk-java diff --git a/src/main/java/org/ldk/structs/DelayedPaymentOutputDescriptor.java b/src/main/java/org/ldk/structs/DelayedPaymentOutputDescriptor.java index d0480df2..faebf6ca 100644 --- a/src/main/java/org/ldk/structs/DelayedPaymentOutputDescriptor.java +++ b/src/main/java/org/ldk/structs/DelayedPaymentOutputDescriptor.java @@ -80,6 +80,19 @@ public class DelayedPaymentOutputDescriptor extends CommonBase { Reference.reachabilityFence(val); } + /** + * The output which is referenced by the given outpoint + * + * Returns a copy of the field. + */ + public TxOut get_output() { + long ret = bindings.DelayedPaymentOutputDescriptor_get_output(this.ptr); + Reference.reachabilityFence(this); + if (ret >= 0 && ret <= 4096) { return null; } + TxOut ret_conv = new TxOut(null, ret); + return ret_conv; + } + /** * The output which is referenced by the given outpoint */