aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-25 12:17:51 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-25 12:18:00 +0100
commit397b9011c9b88ccf623f798a4925228c30813530 (patch)
treecfd2d7e77893110231b887fde84d26d6af9ba51f /src/rpcblockchain.cpp
parent97bef1203d20ddd4fbf8685b55b3a416d9d57cbe (diff)
parenta20695001604a8aa9b7baaf52db8642b0b82b0d9 (diff)
Merge pull request #5241
a206950 Introduce separate flushing modes (Pieter Wuille) 51ce901 Improve chainstate/blockindex disk writing policy (Pieter Wuille)
Diffstat (limited to 'src/rpcblockchain.cpp')
-rw-r--r--src/rpcblockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
index 7919fb1a0c..e8b0f62a83 100644
--- a/src/rpcblockchain.cpp
+++ b/src/rpcblockchain.cpp
@@ -319,7 +319,7 @@ Value gettxoutsetinfo(const Array& params, bool fHelp)
Object ret;
CCoinsStats stats;
- pcoinsTip->Flush();
+ FlushStateToDisk();
if (pcoinsTip->GetStats(stats)) {
ret.push_back(Pair("height", (int64_t)stats.nHeight));
ret.push_back(Pair("bestblock", stats.hashBlock.GetHex()));