- @Override public void handle_shutdown(byte[] their_node_id, long msg) {
- Shutdown msg_hu_conv = new Shutdown(null, msg);
- arg.handle_shutdown(their_node_id, msg_hu_conv);
+ @Override public void handle_shutdown(byte[] their_node_id, long their_features, long msg) {
+ InitFeatures their_features_hu_conv = null; if (their_features < 0 || their_features > 4096) { their_features_hu_conv = new InitFeatures(null, their_features); }
+ Shutdown msg_hu_conv = null; if (msg < 0 || msg > 4096) { msg_hu_conv = new Shutdown(null, msg); }
+ arg.handle_shutdown(their_node_id, their_features_hu_conv, msg_hu_conv);