From e373a2037b10681ca72d38b1777af5f4ec77ba38 Mon Sep 17 00:00:00 2001 From: kenshi84 Date: Mon, 16 Oct 2017 13:08:44 +0900 Subject: [PATCH] performance_tests: add master spend pubkey to subaddress hashtable --- tests/performance_tests/is_out_to_acc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/performance_tests/is_out_to_acc.h b/tests/performance_tests/is_out_to_acc.h index 7da061c1e..c31897628 100644 --- a/tests/performance_tests/is_out_to_acc.h +++ b/tests/performance_tests/is_out_to_acc.h @@ -64,6 +64,7 @@ public: { const cryptonote::txout_to_key& tx_out = boost::get(m_tx.vout[0].target); std::unordered_map subaddresses; + subaddresses[m_bob.get_keys().m_account_address.m_spend_public_key] = {0,0}; 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;