diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/primitives/pureheader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/primitives/pureheader.h b/src/primitives/pureheader.h index 0443a530d..841743632 100644 --- a/src/primitives/pureheader.h +++ b/src/primitives/pureheader.h @@ -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); } }; |