aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/generate_key_image_helper.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-04 19:03:41 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-04 19:03:41 +0200
commitc7ace5fa3d412410312e21c55c28068dcd625fef (patch)
treefba40dea29a948b8a4904b4de189d4adc605ec6e /tests/performance_tests/generate_key_image_helper.h
parentMerge pull request #3245 (diff)
parentCode modifications to integrate Ledger HW device into monero-wallet-cli. (diff)
downloadmonero-c7ace5fa3d412410312e21c55c28068dcd625fef.tar.xz
Merge pull request #3303
e745c1e3 Code modifications to integrate Ledger HW device into monero-wallet-cli. (cslashm)
Diffstat (limited to 'tests/performance_tests/generate_key_image_helper.h')
-rw-r--r--tests/performance_tests/generate_key_image_helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/performance_tests/generate_key_image_helper.h b/tests/performance_tests/generate_key_image_helper.h
index 869e595fd..ede48b6ca 100644
--- a/tests/performance_tests/generate_key_image_helper.h
+++ b/tests/performance_tests/generate_key_image_helper.h
@@ -35,6 +35,7 @@
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "single_tx_test_base.h"
+#include "device/device.hpp"
class test_generate_key_image_helper : public single_tx_test_base
{
@@ -48,6 +49,6 @@ public:
std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subaddresses;
subaddresses[m_bob.get_keys().m_account_address.m_spend_public_key] = {0,0};
crypto::public_key out_key = boost::get<cryptonote::txout_to_key>(m_tx.vout[0].target).key;
- return cryptonote::generate_key_image_helper(m_bob.get_keys(), subaddresses, out_key, m_tx_pub_key, m_additional_tx_pub_keys, 0, in_ephemeral, ki);
+ return cryptonote::generate_key_image_helper(m_bob.get_keys(), subaddresses, out_key, m_tx_pub_key, m_additional_tx_pub_keys, 0, in_ephemeral, ki, hw::get_device("default"));
}
};