aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-02 07:14:04 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-02 07:11:46 -0400
commitfa1c74fd0342b74d44cc4e41fff3890c1434e8f7 (patch)
treea732e787b26720151251509088527d6f1b00293f /src
parentfa7b885f51ff848d3f913bc6e15d24528300c210 (diff)
wallet: Remove unused boost::thread_interrupted
FindWalletTx is only called by zapwallet, which is never called in a boost::thread
Diffstat (limited to 'src')
-rw-r--r--src/wallet/walletdb.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp
index cb2004bc34..0a886c231d 100644
--- a/src/wallet/walletdb.cpp
+++ b/src/wallet/walletdb.cpp
@@ -874,11 +874,7 @@ DBErrors WalletBatch::FindWalletTx(std::vector<uint256>& vTxHash, std::list<CWal
}
}
pcursor->close();
- }
- catch (const boost::thread_interrupted&) {
- throw;
- }
- catch (...) {
+ } catch (...) {
result = DBErrors::CORRUPT;
}