aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-08-07 01:54:32 +0800
committerGav Wood <g@ethdev.com>2015-08-07 01:54:32 +0800
commit9c1f484e3a928d28739ae6baf2f9510ac2f42663 (patch)
treed901960958274755fae0df939f0095465ddab4af
parente24d24b34bb05fcf3ed9413f426fcfad9c618809 (diff)
parentc42e9f3e490d528a18ea545c1f81feed03aeda0e (diff)
downloaddexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar.gz
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar.bz2
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar.lz
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar.xz
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.tar.zst
dexon-solidity-9c1f484e3a928d28739ae6baf2f9510ac2f42663.zip
Merge pull request #2731 from subtly/cryptoFix
Simplify/remove unused methods in Nonce
-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 053ffa21..0ec76386 100644
--- a/TestUtils.cpp
+++ b/TestUtils.cpp
@@ -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();
-}
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;
};