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:
Thomas Oberndörfer 2014-04-04 17:33:30 +02:00
parent 5e74302973
commit 82b18c61f3

View File

@ -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) {
};