aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/solidityExecutionFramework.h
diff options
context:
space:
mode:
authorDimitry <dimitry@ethdev.com>2015-07-29 04:32:11 +0800
committerDimitry <dimitry@ethdev.com>2015-08-12 23:11:32 +0800
commitd6d8951baf6f36e3d73727a9e6a24860c659caf8 (patch)
tree66e59b7dcd6a94b3929907cc269d9005f7c4eb7f /libsolidity/solidityExecutionFramework.h
parentb12507c55e2ab3cb2d709f998d9229546a345238 (diff)
downloaddexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar.gz
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar.bz2
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar.lz
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar.xz
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.tar.zst
dexon-solidity-d6d8951baf6f36e3d73727a9e6a24860c659caf8.zip
Error logs
Diffstat (limited to 'libsolidity/solidityExecutionFramework.h')
-rw-r--r--libsolidity/solidityExecutionFramework.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/solidityExecutionFramework.h b/libsolidity/solidityExecutionFramework.h
index 98241b2f..aac033b5 100644
--- a/libsolidity/solidityExecutionFramework.h
+++ b/libsolidity/solidityExecutionFramework.h
@@ -44,7 +44,9 @@ class ExecutionFramework
public:
ExecutionFramework()
{
- g_logVerbosity = 0;
+ if (g_logVerbosity != -1)
+ g_logVerbosity = 0;
+ m_state.resetCurrent();
}
bytes const& compileAndRunWithoutCheck(