]> git.bitcoin.ninja Git - ldk-java/blobdiff - src/main/java/org/ldk/structs/QueryShortChannelIds.java
Properly set CVec_u8Z to a byte[] which adds a ton more fn's
[ldk-java] / src / main / java / org / ldk / structs / QueryShortChannelIds.java
index e43f686d3cde5cf80ec2f30e09b1ebabb30822df..4a04a4044cb213a4cba275ff50b4e1ecfcc6fd05 100644 (file)
@@ -33,5 +33,10 @@ public class QueryShortChannelIds extends CommonBase {
                super(bindings.QueryShortChannelIds_read(ser));
        }
 
-       // Skipped QueryShortChannelIds_write
+       public byte[] write(QueryShortChannelIds obj) {
+               byte[] ret = bindings.QueryShortChannelIds_write(obj == null ? 0 : obj.ptr & ~1);
+               this.ptrs_to.add(obj);
+               return ret;
+       }
+
 }