mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
There is a bug in MN signatures, ignore such MN but do not ban the peer we got this signature from (#847)
This commit is contained in:
parent
c7a6d2e904
commit
376c7d3498
@ -387,7 +387,8 @@ bool CMasternodeBroadcast::CheckAndUpdate(int& nDos)
|
||||
std::string errorMessage = "";
|
||||
if(!darkSendSigner.VerifyMessage(pubkey, sig, strMessage, errorMessage)){
|
||||
LogPrintf("mnb - Got bad Masternode address signature\n");
|
||||
nDos = 100;
|
||||
// There is a bug in MN signatures, ignore such MN but do not ban the peer we got this from
|
||||
// nDos = 100;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -874,7 +874,8 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
|
||||
std::string errorMessage = "";
|
||||
if(!darkSendSigner.VerifyMessage(pubkey, vchSig, strMessage, errorMessage)){
|
||||
LogPrintf("dsee - Got bad Masternode address signature\n");
|
||||
Misbehaving(pfrom->GetId(), 100);
|
||||
// There is a bug in MN signatures, ignore such MN but do not ban the peer we got this from
|
||||
// Misbehaving(pfrom->GetId(), 100);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user