message: Added HF_MODULUS_HEIGHT to znode's fRequireUpdate condition
diff: @@ -205,10 +205,17 @@ void CZnode::Check(bool fForce) {
  int nActiveStatePrev = nActiveState;
  bool fOurZnode = fZNode && activeZnode.pubKeyZnode == pubKeyZnode;
  + // znode doesn't meet payment protocol requirements ...
  +/* bool fRequireUpdate = nProtocolVersion < mnpayments.GetMinZnodePaymentsProto() ||
  + // or it's our own node and we just updated it to the new protocol but we are still waiting for activation ...
  + (fOurZnode && nProtocolVersion < PROTOCOL_VERSION); */
  +
  // znode doesn't meet payment protocol requirements ...
  bool fRequireUpdate = nProtocolVersion < mnpayments.GetMinZnodePaymentsProto() ||
  // or it's our own node and we just updated it to the new protocol but we are still waiting for activation ...
  - (fOurZnode && nProtocolVersion < PROTOCOL_VERSION);
  + (fOurZnode &&
  + (nProtocolVersion < MIN_PEER_PROTO_VERSION
  + || (nHeight > HF_MODULUS_HEIGHT && nProtocolVersion < PROTOCOL_VERSION)));
  if (fRequireUpdate) {
  nActiveState = ZNODE_UPDATE_REQUIRED;
  