aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-07-21 01:39:09 +0800
committerGav Wood <i@gavwood.com>2015-07-21 01:39:09 +0800
commit262643f5612f59741df8a0e0d5f7c187788e7bc5 (patch)
tree95fea969a077f7cc0b0fe5d98b7d646c28b9eeaa /libsolidity
parent8e4517a015b1f5d5068233505d4e6ee2c8359521 (diff)
parent189b298ae1522c02aeb0fbab035682ad9294d788 (diff)
downloaddexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar.gz
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar.bz2
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar.lz
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar.xz
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.tar.zst
dexon-solidity-262643f5612f59741df8a0e0d5f7c187788e7bc5.zip
Merge branch 'whizz' into develop
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/solidityExecutionFramework.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libsolidity/solidityExecutionFramework.h b/libsolidity/solidityExecutionFramework.h
index f4dbbcb9..0e863701 100644
--- a/libsolidity/solidityExecutionFramework.h
+++ b/libsolidity/solidityExecutionFramework.h
@@ -41,7 +41,11 @@ namespace test
class ExecutionFramework
{
public:
- ExecutionFramework() { g_logVerbosity = 0; }
+ ExecutionFramework()
+ {
+ g_logVerbosity = 0;
+ m_state.resetCurrent();
+ }
bytes const& compileAndRunWithoutCheck(
std::string const& _sourceCode,