do not search for known sporks by hash, search only by ID
This commit is contained in:
parent
b8ecf10af0
commit
debcbb75b1
@ -39,7 +39,7 @@ void ProcessSpork(CNode* pfrom, std::string& strCommand, CDataStream& vRecv)
|
||||
if(chainActive.Tip() == NULL) return;
|
||||
|
||||
uint256 hash = spork.GetHash();
|
||||
if(mapSporks.count(hash) && mapSporksActive.count(spork.nSporkID)) {
|
||||
if(mapSporksActive.count(spork.nSporkID)) {
|
||||
if(mapSporksActive[spork.nSporkID].nTimeSigned >= spork.nTimeSigned){
|
||||
if(fDebug) LogPrintf("spork - seen %s block %d \n", hash.ToString().c_str(), chainActive.Tip()->nHeight);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user