aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TestHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 698f3512..01bb5f30 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -235,7 +235,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state)
}
void ImportTest::importTransaction(json_spirit::mObject& _o)
-{
+{
if (_o.count("secretKey") > 0)
{
assert(_o.count("nonce") > 0);
@@ -728,7 +728,7 @@ Options::Options()
for (auto i = 0; i < argc; ++i)
{
auto arg = std::string{argv[i]};
- if (arg == "--jit")
+ if (arg == "--jit" || arg == "--vm=jit") // TODO: Remove deprecated option "--jit"
eth::VMFactory::setKind(eth::VMKind::JIT);
else if (arg == "--vm=smart")
eth::VMFactory::setKind(eth::VMKind::Smart);