Trying to fix the forking issue, which is now clearly a bug in sending and receiving headers. This checkin will enable debugging and may be a fix.
This commit is contained in:
@@ -76,7 +76,10 @@ public:
|
||||
|
||||
uint256 GetHash() const
|
||||
{
|
||||
return (this->*hashFunction)();
|
||||
if (hashPrevBlock.IsNull())
|
||||
return (this->GetSHA256DHash());
|
||||
else
|
||||
return (this->*hashFunction)();
|
||||
}
|
||||
|
||||
uint256 GetSHA256DHash() const;
|
||||
|
||||
Reference in New Issue
Block a user