[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Shutdown.java
index e814ce54c87f492c9d7a7f5c52e3e0f900e1d5e7..3966d7989e4edd447ebd2fb9a81f1eef9f8c6f9f 100644 (file)
@@ -9,7 +9,9 @@ import javax.annotation.Nullable;
 
 
 /**
- * A shutdown message to be sent or received from a peer
+ * A [`shutdown`] message to be sent to or received from a peer.
+ * 
+ * [`shutdown`]: https://github.com/lightning/bolts/blob/master/02-peer-protocol.md#closing-initiation-shutdown
  */
 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
 public class Shutdown extends CommonBase {
@@ -40,7 +42,8 @@ public class Shutdown extends CommonBase {
 
        /**
         * The destination of this peer's funds on closing.
-        * Must be in one of these forms: p2pkh, p2sh, p2wpkh, p2wsh.
+        * 
+        * Must be in one of these forms: P2PKH, P2SH, P2WPKH, P2WSH, P2TR.
         */
        public byte[] get_scriptpubkey() {
                byte[] ret = bindings.Shutdown_get_scriptpubkey(this.ptr);
@@ -50,7 +53,8 @@ public class Shutdown extends CommonBase {
 
        /**
         * The destination of this peer's funds on closing.
-        * Must be in one of these forms: p2pkh, p2sh, p2wpkh, p2wsh.
+        * 
+        * Must be in one of these forms: P2PKH, P2SH, P2WPKH, P2WSH, P2TR.
         */
        public void set_scriptpubkey(byte[] val) {
                bindings.Shutdown_set_scriptpubkey(this.ptr, val);