aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 14:34:00 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2019-01-26 18:36:53 -0800
commit04da9f4834e1651da65ceb6379950cef9450591c (patch)
treec09a61a7b7223b0aff17834f5cf3094aa46b1e75 /src/rpc/blockchain.cpp
parenta9b71a09a0bbbdebc4c0b10d287bf2d53f628cf4 (diff)
downloadbitcoin-04da9f4834e1651da65ceb6379950cef9450591c.tar.xz
[RPC] Update getrawtransaction interface
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index 315f69d46b..94be223858 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1918,7 +1918,7 @@ static UniValue getblockstats(const JSONRPCRequest& request)
for (const CTxIn& in : tx->vin) {
CTransactionRef tx_in;
uint256 hashBlock;
- if (!GetTransaction(in.prevout.hash, tx_in, Params().GetConsensus(), hashBlock, false)) {
+ if (!GetTransaction(in.prevout.hash, tx_in, Params().GetConsensus(), hashBlock)) {
throw JSONRPCError(RPC_INTERNAL_ERROR, std::string("Unexpected internal error (tx index seems corrupt)"));
}