Merge pull request #107 from TheBlueMatt/main
[ldk-java] / src / main / java / org / ldk / structs / KeysInterface.java
index 4fcc6010a59068b40571e68474e6c9b40b41283d..3e61cfd462ec8b543f9428ef4672ded4b9cc3243 100644 (file)
@@ -26,7 +26,9 @@ public class KeysInterface extends CommonBase {
 
        public static interface KeysInterfaceInterface {
                /**
-                * Get node secret key (aka node_id or network_key) based on the provided [`Recipient`].
+                * Get node secret key based on the provided [`Recipient`].
+                * 
+                * The node_id/network_key is the public key that corresponds to this secret key.
                 * 
                 * This method must return the same value each time it is called with a given `Recipient`
                 * parameter.
@@ -156,7 +158,9 @@ public class KeysInterface extends CommonBase {
                return impl_holder.held;
        }
        /**
-        * Get node secret key (aka node_id or network_key) based on the provided [`Recipient`].
+        * Get node secret key based on the provided [`Recipient`].
+        * 
+        * The node_id/network_key is the public key that corresponds to this secret key.
         * 
         * This method must return the same value each time it is called with a given `Recipient`
         * parameter.
@@ -192,7 +196,7 @@ public class KeysInterface extends CommonBase {
                long ret = bindings.KeysInterface_get_shutdown_scriptpubkey(this.ptr);
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               ShutdownScript ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ShutdownScript(null, ret); }
+               org.ldk.structs.ShutdownScript ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ShutdownScript(null, ret); }
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
        }