diff options
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r-- | src/txdb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index d24162ba2d..3e05683d1e 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -371,6 +371,9 @@ bool CCoinsViewDB::Upgrade() { CDBBatch batch(db); while (pcursor->Valid()) { boost::this_thread::interruption_point(); + if (ShutdownRequested()) { + break; + } std::pair<unsigned char, uint256> key; if (pcursor->GetKey(key) && key.first == DB_COINS) { CCoins old_coins; |