Also handle MNAUTH on non-masternodes (#2797)
No real reason to ignore this message. It might become useful in the future.
This commit is contained in:
parent
b18f8cb77c
commit
f20620b0a5
@ -46,10 +46,6 @@ void CMNAuth::PushMNAUTH(CNode* pnode, CConnman& connman)
|
|||||||
|
|
||||||
void CMNAuth::ProcessMessage(CNode* pnode, const std::string& strCommand, CDataStream& vRecv, CConnman& connman)
|
void CMNAuth::ProcessMessage(CNode* pnode, const std::string& strCommand, CDataStream& vRecv, CConnman& connman)
|
||||||
{
|
{
|
||||||
if (!fMasternodeMode) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!masternodeSync.IsBlockchainSynced()) {
|
if (!masternodeSync.IsBlockchainSynced()) {
|
||||||
// we can't really verify MNAUTH messages when we don't have the latest MN list
|
// we can't really verify MNAUTH messages when we don't have the latest MN list
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user