diff options
| author | Pieter Wuille <[email protected]> | 2017-01-04 07:31:56 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-01-04 13:18:49 -0800 |
| commit | 3641141c8f9bdc68fcc0792ce8842a8e33ea7320 (patch) | |
| tree | defc323ff6b727e8b50bbe944b4671119fea30f2 /src/rpc/blockchain.cpp | |
| parent | [MOVEONLY] Move progress estimation out of checkpoints (diff) | |
| download | discoin-3641141c8f9bdc68fcc0792ce8842a8e33ea7320.tar.xz discoin-3641141c8f9bdc68fcc0792ce8842a8e33ea7320.zip | |
Move tx estimation data out of CCheckPointData
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 a3954d81f..09671ea20 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1073,7 +1073,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request) obj.push_back(Pair("bestblockhash", chainActive.Tip()->GetBlockHash().GetHex())); obj.push_back(Pair("difficulty", (double)GetDifficulty())); obj.push_back(Pair("mediantime", (int64_t)chainActive.Tip()->GetMedianTimePast())); - obj.push_back(Pair("verificationprogress", GuessVerificationProgress(Params().Checkpoints(), chainActive.Tip()))); + obj.push_back(Pair("verificationprogress", GuessVerificationProgress(Params().TxData(), chainActive.Tip()))); obj.push_back(Pair("chainwork", chainActive.Tip()->nChainWork.GetHex())); obj.push_back(Pair("pruned", fPruneMode)); |