diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-10-06 15:45:43 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-10-06 15:47:29 +0300 |
| commit | 8b0cb8caa44b9e985611b72ba956c170e6eea64a (patch) | |
| tree | d64a8527833c8a828ad195ed45c3b8a9a9afb81c /src/wallet/api/transaction_history.cpp | |
| parent | db3282cdf00aae69fdd38680b4f58999d8c5d34a (diff) | |
| download | monzero-core-8b0cb8caa44b9e985611b72ba956c170e6eea64a.tar.gz monzero-core-8b0cb8caa44b9e985611b72ba956c170e6eea64a.tar.xz monzero-core-8b0cb8caa44b9e985611b72ba956c170e6eea64a.zip | |
libwallet_api: some renamings
Diffstat (limited to 'src/wallet/api/transaction_history.cpp')
| -rw-r--r-- | src/wallet/api/transaction_history.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_history.cpp b/src/wallet/api/transaction_history.cpp index 190aa67c5..5f99750d5 100644 --- a/src/wallet/api/transaction_history.cpp +++ b/src/wallet/api/transaction_history.cpp @@ -60,6 +60,7 @@ TransactionHistoryImpl::~TransactionHistoryImpl() int TransactionHistoryImpl::count() const { + boost::lock_guard<boost::mutex> guarg(m_historyMutex); return m_history.size(); } @@ -80,7 +81,7 @@ std::vector<TransactionInfo *> TransactionHistoryImpl::getAll() const void TransactionHistoryImpl::refresh() { // multithreaded access: - boost::lock_guard<boost::mutex> guarg(m_refreshMutex); + boost::lock_guard<boost::mutex> guarg(m_historyMutex); // TODO: configurable values; uint64_t min_height = 0; |
