Bitcore-p2p

Hi All.I use bitcore-p2p, and uninterrupted I have listened inv messages
pool.on(‘peerinv’, function (peer, message) {
//Inventories
message.inventory.forEach(function (inv) {
var reversed = BufferUtil.reverse(inv.hash);
var hexaInv = BufferUtil.bufferToHex(reversed);
console.log(hexaInv);

   });

});

and sometimes I get following error can You help?
/root/RiskEngine2/node_modules/bitcore-p2p/lib/messages/utils.js:20 throw new Error('Data still available after parsing'); ^ Error: Data still available after parsing

1 Like