mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2731 from subtly/cryptoFix
Simplify/remove unused methods in Nonce
This commit is contained in:
commit
9c1f484e3a
@ -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();
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ struct JsonRpcFixture: public ClientBaseFixture
|
||||
struct MoveNonceToTempDir
|
||||
{
|
||||
MoveNonceToTempDir();
|
||||
~MoveNonceToTempDir();
|
||||
~MoveNonceToTempDir() {}
|
||||
private:
|
||||
TransientDirectory m_dir;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user