aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-06 04:13:24 +0800
committerGav Wood <i@gavwood.com>2015-04-06 04:13:24 +0800
commita2507495052d39ef4ddfc6fc256b29e063a81eb6 (patch)
tree2c083b6f619b8a53f76304ca29bb84f2dbecc4e8
parent0dc70c63a9009aa5ccf2da99893a426a1d6db6d5 (diff)
downloaddexon-solidity-a2507495052d39ef4ddfc6fc256b29e063a81eb6.tar.gz
dexon-solidity-a2507495052d39ef4ddfc6fc256b29e063a81eb6.tar.zst
dexon-solidity-a2507495052d39ef4ddfc6fc256b29e063a81eb6.zip
Typo "fix" fixed.
-rw-r--r--TestHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 140efdb9..dd7c09ea 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -95,7 +95,7 @@ void ImportTest::importEnv(json_spirit::mObject& _o)
assert(_o.count("currentCoinbase") > 0);
assert(_o.count("currentNumber") > 0);
- m_environment.currentBlock.parentHash = h256(_o["parentHash"].get_str());
+ m_environment.currentBlock.parentHash = h256(_o["previousHash"].get_str());
m_environment.currentBlock.number = toInt(_o["currentNumber"]);
m_environment.currentBlock.gasLimit = toInt(_o["currentGasLimit"]);
m_environment.currentBlock.difficulty = toInt(_o["currentDifficulty"]);