Merge pull request #2731 from subtly/cryptoFix

Simplify/remove unused methods in Nonce
This commit is contained in:
Gav Wood 2015-08-06 19:54:32 +02:00
commit 9c1f484e3a
2 changed files with 2 additions and 6 deletions

View File

@ -122,10 +122,6 @@ void ParallelClientBaseFixture::enumerateClients(std::function<void(Json::Value
MoveNonceToTempDir::MoveNonceToTempDir()
{
crypto::Nonce::setSeedFilePath(m_dir.path() + "/seed");
crypto::Nonce::seedFilePath(m_dir.path() + "/seed");
}
MoveNonceToTempDir::~MoveNonceToTempDir()
{
crypto::Nonce::reset();
}

View File

@ -82,7 +82,7 @@ struct JsonRpcFixture: public ClientBaseFixture
struct MoveNonceToTempDir
{
MoveNonceToTempDir();
~MoveNonceToTempDir();
~MoveNonceToTempDir() {}
private:
TransientDirectory m_dir;
};