fix NSPV addressindex

This commit is contained in:
blackjok3r
2019-08-02 23:22:20 +08:00
parent a48880635c
commit 4509efcc63
2 changed files with 2 additions and 2 deletions

View File

@@ -7503,7 +7503,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
else if (strCommand == "getnSPV")
{
if ( KOMODO_NSPV == 0 )
if ( KOMODO_NSPV == 0 && KOMODO_INSYNC != 0 )
{
std::vector<uint8_t> payload;
vRecv >> payload;