diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2019-01-26 14:34:00 -0800 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2019-01-26 18:36:53 -0800 |
commit | 04da9f4834e1651da65ceb6379950cef9450591c (patch) | |
tree | c09a61a7b7223b0aff17834f5cf3094aa46b1e75 /src/rpc/blockchain.cpp | |
parent | a9b71a09a0bbbdebc4c0b10d287bf2d53f628cf4 (diff) | |
download | bitcoin-04da9f4834e1651da65ceb6379950cef9450591c.tar.xz |
[RPC] Update getrawtransaction interface
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
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)")); } |