diff options
| author | João Barbosa <[email protected]> | 2020-06-12 10:55:20 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2020-06-13 01:09:15 +0100 |
| commit | ccf1f6ea24905876f35e685204cb2293cf083e97 (patch) | |
| tree | 046963a42ec15b556ca6cde26a78998802c9e180 /src/wallet/wallet.cpp | |
| parent | Merge #19177: test: Fix and clean p2p_invalid_messages functional tests (diff) | |
| download | discoin-ccf1f6ea24905876f35e685204cb2293cf083e97.tar.xz discoin-ccf1f6ea24905876f35e685204cb2293cf083e97.zip | |
refactor: Drop ::HasWallets()
Diffstat (limited to 'src/wallet/wallet.cpp')
| -rw-r--r-- | src/wallet/wallet.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index a59aa8b98..5f318f92a 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -77,12 +77,6 @@ bool RemoveWallet(const std::shared_ptr<CWallet>& wallet) return true; } -bool HasWallets() -{ - LOCK(cs_wallets); - return !vpwallets.empty(); -} - std::vector<std::shared_ptr<CWallet>> GetWallets() { LOCK(cs_wallets); |