check mnw peer version

This commit is contained in:
Evan Duffield 2015-08-14 16:19:46 -07:00
parent 6040fc6f83
commit 0d5ca11c9a

View File

@ -362,6 +362,8 @@ void CMasternodePayments::ProcessMessageMasternodePayments(CNode* pfrom, std::st
CMasternodePaymentWinner winner;
vRecv >> winner;
if(pfrom->nVersion < MIN_MNW_PEER_PROTO_VERSION) return;
if(chainActive.Tip() == NULL) return;
if(masternodePayments.mapMasternodePayeeVotes.count(winner.GetHash())){