aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2022-10-20 17:23:28 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2022-11-17 12:12:23 +0100
commit1114e7eed778b4957561bca4da5c7631f8c60133 (patch)
treeacf440f32a8af468dbdc1b74c4c8ab139f504f7b /src/wallet/api
parentMerge pull request #8587 (diff)
downloadmonero-1114e7eed778b4957561bca4da5c7631f8c60133.tar.xz
fix(trezor-tests): fix trezor tests build, fix integrated addr test
- fix integrated address test, it was not testing integrated address suport - fix trezor test build as dependent classes were changed - add a friend test class for Monero::WalletImpl to support wallet api tests When using wallet_api in tests, synthetic chain is used. Without being able to set `allow_mismatched_daemon_version` in the underlying wallet, we are not able to use a synthetic chain with the tests
Diffstat (limited to 'src/wallet/api')
-rw-r--r--src/wallet/api/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index ec2d7e9b3..4ac672287 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -39,6 +39,7 @@
#include <boost/thread/thread.hpp>
#include <boost/thread/condition_variable.hpp>
+class WalletApiAccessorTest;
namespace Monero {
class TransactionHistoryImpl;
@@ -248,6 +249,7 @@ private:
friend class AddressBookImpl;
friend class SubaddressImpl;
friend class SubaddressAccountImpl;
+ friend class ::WalletApiAccessorTest;
std::unique_ptr<tools::wallet2> m_wallet;
mutable boost::mutex m_statusMutex;