diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-10-05 19:01:26 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-10-06 15:47:29 +0300 |
commit | db3282cdf00aae69fdd38680b4f58999d8c5d34a (patch) | |
tree | 68953a8e6f146411aff6d31489b47941ba6ca0d4 /src/wallet/api/transaction_history.h | |
parent | libwallet_api: fixes for transaction history (diff) | |
download | monero-db3282cdf00aae69fdd38680b4f58999d8c5d34a.tar.xz |
Initialize transaction history if empty
Diffstat (limited to 'src/wallet/api/transaction_history.h')
-rw-r--r-- | src/wallet/api/transaction_history.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_history.h b/src/wallet/api/transaction_history.h index 171fd2210..0b7e079b9 100644 --- a/src/wallet/api/transaction_history.h +++ b/src/wallet/api/transaction_history.h @@ -29,6 +29,7 @@ // Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers #include "wallet/wallet2_api.h" +#include <boost/thread/mutex.hpp> namespace Bitmonero { @@ -51,6 +52,7 @@ private: // TransactionHistory is responsible of memory management std::vector<TransactionInfo*> m_history; WalletImpl *m_wallet; + boost::mutex m_refreshMutex; }; } |