aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2015-04-22 17:55:00 -0400
committerCory Fields <cory-nospam-@coryfields.com>2015-04-30 23:14:08 -0400
commit9f13a10548bf77fb785a9c116234258275de6c04 (patch)
tree0b8ec1207e3056383e2681807c6e532db3ef80c5 /src/checkpoints.h
parent8a10000222cb49eb253b41802ecf312adaf79439 (diff)
downloadbitcoin-9f13a10548bf77fb785a9c116234258275de6c04.tar.xz
checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer
Diffstat (limited to 'src/checkpoints.h')
-rw-r--r--src/checkpoints.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkpoints.h b/src/checkpoints.h
index 29dc5f83a9..9cccf4228a 100644
--- a/src/checkpoints.h
+++ b/src/checkpoints.h
@@ -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;