keypair::generate: always require hw::device to avoid possible mistake

This commit is contained in:
stoffu
2018-03-14 21:00:16 +09:00
parent 27a196b126
commit 8705beaf51
6 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ public:
bool test()
{
cryptonote::keypair::generate();
cryptonote::keypair::generate(hw::get_device("default"));
return true;
}
};