checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer

This commit is contained in:
Cory Fields
2015-04-22 17:55:00 -04:00
parent 8a10000222
commit 9f13a10548
3 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ namespace Checkpoints
typedef std::map<int, uint256> MapCheckpoints;
struct CCheckpointData {
const MapCheckpoints *mapCheckpoints;
MapCheckpoints mapCheckpoints;
int64_t nTimeLastCheckpoint;
int64_t nTransactionsLastCheckpoint;
double fTransactionsPerDay;