Fix const-ness of ReadTxIndex

This commit is contained in:
Duke
2023-04-06 12:44:30 -04:00
parent 8c8f451be8
commit 4c5649454b

View File

@@ -97,7 +97,7 @@ public:
bool ReadLastBlockFile(int &nFile) const;
bool WriteReindexing(bool fReindex);
bool ReadReindexing(bool &fReindex) const;
bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos);
bool ReadTxIndex(const uint256 &txid, CDiskTxPos &pos) const;
bool WriteTxIndex(const std::vector<std::pair<uint256, CDiskTxPos> > &list);
bool ReadSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) const;
bool UpdateSpentIndex(const std::vector<std::pair<CSpentIndexKey, CSpentIndexValue> >&vect);