Add empty read method to trust packet. Otherwise import of key with a trust packet will fail. Trust packets are ignored and filtered out by the Key class.
This commit is contained in:
parent
5e74302973
commit
82b18c61f3
|
@ -13,3 +13,12 @@ var enums = require('../enums.js');
|
|||
function Trust() {
|
||||
this.tag = enums.packet.trust;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parsing function for a trust packet (tag 12).
|
||||
* Currently empty as we ignore trust packets
|
||||
* @param {String} byptes payload of a tag 12 packet
|
||||
*/
|
||||
Trust.prototype.read = function (bytes) {
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user