- this.node_id = bindings.LDKHTLCDestination_NextHopChannel_get_node_id(ptr);
- this.channel_id = bindings.LDKHTLCDestination_NextHopChannel_get_channel_id(ptr);
+ long node_id = bindings.LDKHTLCDestination_NextHopChannel_get_node_id(ptr);
+ byte[] node_id_conv = InternalUtils.decodeUint8Array(node_id);
+ this.node_id = node_id_conv;
+ long channel_id = bindings.LDKHTLCDestination_NextHopChannel_get_channel_id(ptr);
+ byte[] channel_id_conv = InternalUtils.decodeUint8Array(channel_id);
+ this.channel_id = channel_id_conv;