Merge pull request #177 from cpuchain/p2p
fix p2p peer node disconnected issue while p2p enabled
This commit is contained in:
commit
57982f88b1
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user