From 75c279169c78f9f0d7657692fbb557bc62378a3e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 19 May 2017 22:05:46 -0700 Subject: [PATCH] peer: comments. --- lib/net/peer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index 2c1018fa..cb068d60 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -2141,7 +2141,8 @@ Peer.prototype.sendMempool = function sendMempool() { * Send `reject` to peer. * @param {Number} code * @param {String} reason - * @param {TX|Block} msg + * @param {String} msg + * @param {Hash} hash */ Peer.prototype.sendReject = function sendReject(code, reason, msg, hash) { @@ -2215,8 +2216,7 @@ Peer.prototype.ban = function ban() { /** * Send a `reject` packet to peer. - * @see Framer.reject - * @param {String msg + * @param {String} msg * @param {VerifyError} err * @returns {Boolean} */