aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <[email protected]>2019-01-26 14:34:00 -0800
committerAmiti Uttarwar <[email protected]>2019-01-26 18:36:53 -0800
commit04da9f4834e1651da65ceb6379950cef9450591c (patch)
treec09a61a7b7223b0aff17834f5cf3094aa46b1e75 /src/rpc/blockchain.cpp
parentMerge #15154: configure: bitcoin-tx doesn't need libevent, so don't pull it in (diff)
downloaddiscoin-04da9f4834e1651da65ceb6379950cef9450591c.tar.xz
discoin-04da9f4834e1651da65ceb6379950cef9450591c.zip
[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 315f69d46..94be22385 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)"));
}