mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
check mnw peer version
This commit is contained in:
parent
6040fc6f83
commit
0d5ca11c9a
@ -362,6 +362,8 @@ void CMasternodePayments::ProcessMessageMasternodePayments(CNode* pfrom, std::st
|
|||||||
CMasternodePaymentWinner winner;
|
CMasternodePaymentWinner winner;
|
||||||
vRecv >> winner;
|
vRecv >> winner;
|
||||||
|
|
||||||
|
if(pfrom->nVersion < MIN_MNW_PEER_PROTO_VERSION) return;
|
||||||
|
|
||||||
if(chainActive.Tip() == NULL) return;
|
if(chainActive.Tip() == NULL) return;
|
||||||
|
|
||||||
if(masternodePayments.mapMasternodePayeeVotes.count(winner.GetHash())){
|
if(masternodePayments.mapMasternodePayeeVotes.count(winner.GetHash())){
|
||||||
|
Loading…
Reference in New Issue
Block a user