aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/generate_keypair.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-03-05 17:02:17 +0900
committerstoffu <stoffu@protonmail.ch>2018-03-14 21:00:16 +0900
commit8705beaf51c12d7eab5f56f615ec529a2a8efc27 (patch)
treedc783650bd3ffe9b7baef0ae9ab4435dc1dc69a8 /tests/performance_tests/generate_keypair.h
parentdevice: untangle cyclic depenency (diff)
downloadmonero-8705beaf51c12d7eab5f56f615ec529a2a8efc27.tar.xz
keypair::generate: always require hw::device to avoid possible mistake
Diffstat (limited to 'tests/performance_tests/generate_keypair.h')
-rw-r--r--tests/performance_tests/generate_keypair.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/performance_tests/generate_keypair.h b/tests/performance_tests/generate_keypair.h
index f97f4c213..91c830166 100644
--- a/tests/performance_tests/generate_keypair.h
+++ b/tests/performance_tests/generate_keypair.h
@@ -45,7 +45,7 @@ public:
bool test()
{
- cryptonote::keypair::generate();
+ cryptonote::keypair::generate(hw::get_device("default"));
return true;
}
};