diff options
Simplify/remove unused methods.
-rw-r--r-- | TestUtils.cpp | 6 | ||||
-rw-r--r-- | TestUtils.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/TestUtils.cpp b/TestUtils.cpp index bd603a61..60d5d606 100644 --- a/TestUtils.cpp +++ b/TestUtils.cpp @@ -120,10 +120,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(); -} diff --git a/TestUtils.h b/TestUtils.h index 94558635..f0c8e50f 100644 --- a/TestUtils.h +++ b/TestUtils.h @@ -82,7 +82,7 @@ struct JsonRpcFixture: public ClientBaseFixture struct MoveNonceToTempDir { MoveNonceToTempDir(); - ~MoveNonceToTempDir(); + ~MoveNonceToTempDir() {} private: TransientDirectory m_dir; }; |