fix p2p peer node disconnected issue while p2p enabled

This commit is contained in:
Min Khang Aung 2019-11-20 23:29:39 +00:00
parent 9c4baf14ac
commit 96ee77913d
No known key found for this signature in database
GPG Key ID: 32ACF992E9440334

View File

@ -188,6 +188,9 @@ var Peer = module.exports = function (options) {
_this.emit('connected');
}
break;
case commands.version.toString():
SendMessage(commands.verack, Buffer.alloc(0));
break;
default:
break;
}