aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubtly <subtly>2015-08-05 21:32:17 +0800
committersubtly <subtly>2015-08-05 21:32:17 +0800
commitc42e9f3e490d528a18ea545c1f81feed03aeda0e (patch)
tree8d9a7b711aab2d8b339685bba5d26500bf97c672
parent54a5e4ef861e828a3884c88877f33753ea437f2b (diff)
downloaddexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar.gz
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar.bz2
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar.lz
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar.xz
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.tar.zst
dexon-solidity-c42e9f3e490d528a18ea545c1f81feed03aeda0e.zip
Simplify/remove unused methods.
-rw-r--r--TestUtils.cpp6
-rw-r--r--TestUtils.h2
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;
};