aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_history.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-10-05 19:01:26 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-10-06 15:47:29 +0300
commitdb3282cdf00aae69fdd38680b4f58999d8c5d34a (patch)
tree68953a8e6f146411aff6d31489b47941ba6ca0d4 /src/wallet/api/transaction_history.h
parentlibwallet_api: fixes for transaction history (diff)
downloadmonero-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.h2
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;
};
}