From fddd8d226f5b76edda78fcdd3fe4dfffdf2d6e88 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 15 Oct 2017 19:58:53 +0100 Subject: performance_tests: fix build after subaddress patch --- tests/performance_tests/is_out_to_acc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/performance_tests/is_out_to_acc.h b/tests/performance_tests/is_out_to_acc.h index 12ef0f79f..7da061c1e 100644 --- a/tests/performance_tests/is_out_to_acc.h +++ b/tests/performance_tests/is_out_to_acc.h @@ -63,7 +63,10 @@ public: bool test() { const cryptonote::txout_to_key& tx_out = boost::get(m_tx.vout[0].target); - return cryptonote::is_out_to_acc_precomp(m_bob.get_keys().m_account_address.m_spend_public_key, tx_out, m_derivation, 0); + std::unordered_map subaddresses; + std::vector additional_derivations; + boost::optional info = cryptonote::is_out_to_acc_precomp(subaddresses, tx_out.key, m_derivation, additional_derivations, 0); + return (bool)info; } private: -- cgit v1.2.3