Merge pull request #913 from braydonf/feature/messages-for-modules
Export messages so that they can be extended from another module.
This commit is contained in:
commit
1a30be3aa5
|
@ -155,7 +155,9 @@ Message.prototype.serialize = function(network) {
|
|||
message.put(payload);
|
||||
|
||||
return message.buffer();
|
||||
}
|
||||
};
|
||||
|
||||
module.exports.Message = Message;
|
||||
|
||||
/**
|
||||
* Version Message
|
||||
|
|
Loading…
Reference in New Issue