From 1114e7eed778b4957561bca4da5c7631f8c60133 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Thu, 20 Oct 2022 17:23:28 +0200 Subject: 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 --- src/wallet/api/wallet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet') 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 #include +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 m_wallet; mutable boost::mutex m_statusMutex; -- cgit v1.2.3