// todo: in-line interface filling
handle_open_channel (their_node_id: Uint8Array, their_features: number, msg: number): void {
const their_features_hu_conv: InitFeatures = new InitFeatures(null, their_features);
+ their_features_hu_conv.ptrs_to.add(this);
const msg_hu_conv: OpenChannel = new OpenChannel(null, msg);
arg.handle_open_channel(their_node_id, their_features_hu_conv, msg_hu_conv);
},
handle_accept_channel (their_node_id: Uint8Array, their_features: number, msg: number): void {
const their_features_hu_conv: InitFeatures = new InitFeatures(null, their_features);
+ their_features_hu_conv.ptrs_to.add(this);
const msg_hu_conv: AcceptChannel = new AcceptChannel(null, msg);
arg.handle_accept_channel(their_node_id, their_features_hu_conv, msg_hu_conv);
},