Skip methods we can't use anyway
[ldk-java] / src / main / java / org / ldk / structs / RouteHop.java
index 54210f7ceb682211cf988b6962b2ec18692f7d79..814ebe5a73dd55ccacd27419e371ae53ac44f1b7 100644 (file)
@@ -32,12 +32,7 @@ public class RouteHop extends CommonBase {
                return ret;
        }
 
-       public void set_node_features(RouteHop this_ptr, NodeFeatures val) {
-               bindings.RouteHop_set_node_features(this_ptr == null ? 0 : this_ptr.ptr & ~1, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(this_ptr);
-               this.ptrs_to.add(val);
-       }
-
+       // Skipped RouteHop_set_node_features
        public long get_short_channel_id(RouteHop this_ptr) {
                long ret = bindings.RouteHop_get_short_channel_id(this_ptr == null ? 0 : this_ptr.ptr & ~1);
                this.ptrs_to.add(this_ptr);
@@ -55,12 +50,7 @@ public class RouteHop extends CommonBase {
                return ret;
        }
 
-       public void set_channel_features(RouteHop this_ptr, ChannelFeatures val) {
-               bindings.RouteHop_set_channel_features(this_ptr == null ? 0 : this_ptr.ptr & ~1, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(this_ptr);
-               this.ptrs_to.add(val);
-       }
-
+       // Skipped RouteHop_set_channel_features
        public long get_fee_msat(RouteHop this_ptr) {
                long ret = bindings.RouteHop_get_fee_msat(this_ptr == null ? 0 : this_ptr.ptr & ~1);
                this.ptrs_to.add(this_ptr);
@@ -83,10 +73,5 @@ public class RouteHop extends CommonBase {
                this.ptrs_to.add(this_ptr);
        }
 
-       public RouteHop(byte[] pubkey_arg, NodeFeatures node_features_arg, long short_channel_id_arg, ChannelFeatures channel_features_arg, long fee_msat_arg, int cltv_expiry_delta_arg) {
-               super(bindings.RouteHop_new(pubkey_arg, node_features_arg == null ? 0 : node_features_arg.ptr & ~1, short_channel_id_arg, channel_features_arg == null ? 0 : channel_features_arg.ptr & ~1, fee_msat_arg, cltv_expiry_delta_arg));
-               this.ptrs_to.add(node_features_arg);
-               this.ptrs_to.add(channel_features_arg);
-       }
-
+       // Skipped RouteHop_new
 }