mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-03-14 23:43:00 +00:00
Handle legacy v2 block at #66064
This commit is contained in:
parent
0a403a2227
commit
e9c0ac7afb
@ -149,7 +149,9 @@ public:
|
||||
*/
|
||||
inline bool IsLegacy() const
|
||||
{
|
||||
return nVersion == 1;
|
||||
return nVersion == 1
|
||||
// Dogecoin: We have a random v2 block with no AuxPoW, treat as legacy
|
||||
|| (nVersion == 2 && GetChainId() == 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user