From 04da9f4834e1651da65ceb6379950cef9450591c Mon Sep 17 00:00:00 2001 From: Amiti Uttarwar Date: Sat, 26 Jan 2019 14:34:00 -0800 Subject: [RPC] Update getrawtransaction interface --- src/validation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index b5548a9293..1d00124ab7 100644 --- a/src/validation.h +++ b/src/validation.h @@ -269,7 +269,7 @@ void ThreadScriptCheck(); /** Check whether we are doing an initial block download (synchronizing from disk or network) */ bool IsInitialBlockDownload(); /** Retrieve a transaction (from memory pool, or from disk, if possible) */ -bool GetTransaction(const uint256& hash, CTransactionRef& tx, const Consensus::Params& params, uint256& hashBlock, bool fAllowSlow = false, CBlockIndex* blockIndex = nullptr); +bool GetTransaction(const uint256& hash, CTransactionRef& tx, const Consensus::Params& params, uint256& hashBlock, const CBlockIndex* const blockIndex = nullptr); /** * Find the best known block, and make it the tip of the block chain * -- cgit v1.2.3