aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2016-11-07 23:31:55 +0100
committerJorge Timón <jtimon@jtimon.cc>2017-05-18 22:23:10 +0200
commitb324b2820903e777f3bbf5bf96686bbe723d8df7 (patch)
tree1bcdd78a47c367edd3262093e0cf0b3700f912ae /src/txdb.h
parentea6fde3f1d2694176a657b69fb0eeb5426e6f309 (diff)
Globals: Pass Consensus::Params through CBlockTreeDB::LoadBlockIndexGuts()
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 117e7201fb..97c4e09369 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -120,7 +120,7 @@ public:
bool WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> > &list);
bool WriteFlag(const std::string &name, bool fValue);
bool ReadFlag(const std::string &name, bool &fValue);
- bool LoadBlockIndexGuts(std::function<CBlockIndex*(const uint256&)> insertBlockIndex);
+ bool LoadBlockIndexGuts(const Consensus::Params& consensusParams, std::function<CBlockIndex*(const uint256&)> insertBlockIndex);
};
#endif // BITCOIN_TXDB_H