aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2023-11-15 13:07:28 +1000
committerAnthony Towns <aj@erisian.com.au>2023-11-18 03:01:03 +1000
commitbbd4646a2ef514c31570ca9d1475fc9ddb35bdfd (patch)
treed086146fd4679d4f53629eaa3910805653d564e8 /src/index
parentc72ddf04db95a94e91939d46d13ab6a46fefb4be (diff)
downloadbitcoin-bbd4646a2ef514c31570ca9d1475fc9ddb35bdfd.tar.xz
blockstorage: switch from CAutoFile to AutoFile
Also bump includes per suggestions from iwyu.
Diffstat (limited to 'src/index')
-rw-r--r--src/index/txindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp
index 5d37fd0d8f..4983926e68 100644
--- a/src/index/txindex.cpp
+++ b/src/index/txindex.cpp
@@ -79,7 +79,7 @@ bool TxIndex::FindTx(const uint256& tx_hash, uint256& block_hash, CTransactionRe
return false;
}
- CAutoFile file{m_chainstate->m_blockman.OpenBlockFile(postx, true)};
+ AutoFile file{m_chainstate->m_blockman.OpenBlockFile(postx, true)};
if (file.IsNull()) {
return error("%s: OpenBlockFile failed", __func__);
}