message: Updated REJECT message when the peer version is less than MIN_PEER_PROTO_VERSION
diff: @@ -6324,11 +6324,11 @@ bool static ProcessMessage(CNode *pfrom, string strCommand, CDataStream &vRecv,
  LOCK(cs_main);
  nHeight = chainActive.Height();
  }
  - if ((nHeight + 1 < HF_ZNODE_HEIGHT && pfrom->nVersion < MIN_PEER_PROTO_VERSION) ||
  - (nHeight + 1 >= HF_ZNODE_HEIGHT && pfrom->nVersion < MIN_PEER_PROTO_VERSION_AFTER_ZNODE_PAYMENT_HF)) {
  + int minPeerVersion = (nHeight + 1 < HF_ZNODE_HEIGHT) ? MIN_PEER_PROTO_VERSION : MIN_PEER_PROTO_VERSION_AFTER_ZNODE_PAYMENT_HF;
  + if (pfrom->nVersion < minPeerVersion) {
  // disconnect from peers older than this proto version
  // LogPrintf("peer=%d using obsolete version %i; disconnecting\n", pfrom->id, pfrom->nVersion);
  - pfrom->PushMessage(NetMsgType::REJECT, strCommand, REJECT_OBSOLETE, strprintf("Version must be %d or greater", MIN_PEER_PROTO_VERSION));
  + pfrom->PushMessage(NetMsgType::REJECT, strCommand, REJECT_OBSOLETE, strprintf("Version must be %d or greater", minPeerVersion));
  pfrom->fDisconnect = true;
  return false;
  }
  