[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java] / src / main / java / org / ldk / structs / NodeId.java
index b18198869c36351686441741a4cb67c473ab29c7..830cfdc322e07c2da8fe6258a051e27dedde7faa 100644 (file)
@@ -59,6 +59,15 @@ public class NodeId extends CommonBase {
                return ret;
        }
 
+       /**
+        * Get the public key as an array from this NodeId
+        */
+       public byte[] as_array() {
+               byte[] ret = bindings.NodeId_as_array(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * Get the public key from this NodeId
         */