aboutsummaryrefslogtreecommitdiff
path: root/src/core.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-21 16:08:20 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-21 16:16:55 +0200
commit33dfbf57d34882aef7b83bc5ea9bf561e1f3e7b0 (patch)
treea0e9ff5fa63c507e2dda9c8a54da3e523b7fbe73 /src/core.cpp
parent9acbb4180a383ff123e07887a24b439cef846e89 (diff)
rpc: Fix leveldb iterator leak, and flush before `gettxoutsetinfo`
This fixes an iterator leak resulting in bitcoind: db/version_set.cc:789: leveldb::VersionSet::~VersionSet(): Assertion `dummy_versions_.next_ == &dummy_versions_' failed." exception on shutdown. Also make sure to flush pcoinsTip before calling GetStats() to make sure we apply them to the current height.
Diffstat (limited to 'src/core.cpp')
0 files changed, 0 insertions, 0 deletions