From 9e58c5bcd96e7ff2062274868814ccae0626589e Mon Sep 17 00:00:00 2001 From: dergoegge <n.goeggi@gmail.com> Date: Wed, 11 Oct 2023 14:53:04 +0100 Subject: Use Txid in COutpoint --- src/coins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/coins.h') diff --git a/src/coins.h b/src/coins.h index a6cbb03133..63a27fe012 100644 --- a/src/coins.h +++ b/src/coins.h @@ -364,7 +364,7 @@ void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight, bool //! This function can be quite expensive because in the event of a transaction //! which is not found in the cache, it can cause up to MAX_OUTPUTS_PER_BLOCK //! lookups to database, so it should be used with care. -const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid); +const Coin& AccessByTxid(const CCoinsViewCache& cache, const Txid& txid); /** * This is a minimally invasive approach to shutdown on LevelDB read errors from the -- cgit v1.2.3