Skip to content

Commit

Permalink
fix serialization versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-at-decenomy committed Jul 28, 2021
1 parent 3669816 commit 8aca1e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chain.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ class CBlockIndex

/** Used to marshal pointers into hashes for db storage. */

// New serialization introduced on PIVX
static const int DBI_OLD_SER_VERSION = 0;
static const int DBI_SER_VERSION_NO_ZC = 0; // removes mapZerocoinSupply, nMoneySupply
// New serialization introduced with 1.4.0.0
static const int DBI_OLD_SER_VERSION = 1004000;
static const int DBI_SER_VERSION_NO_ZC = 1004000; // removes mapZerocoinSupply, nMoneySupply

class CDiskBlockIndex : public CBlockIndex
{
Expand Down

0 comments on commit 8aca1e0

Please sign in to comment.