From 4c5649454b5143ea6bad72d1eb4cc219c59fefc1 Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 6 Apr 2023 12:44:30 -0400 Subject: [PATCH] Fix const-ness of ReadTxIndex --- src/txdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/txdb.h b/src/txdb.h index 68042880a..0b0ac376c 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -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 > &list); bool ReadSpentIndex(CSpentIndexKey &key, CSpentIndexValue &value) const; bool UpdateSpentIndex(const std::vector >&vect);