From a2507495052d39ef4ddfc6fc256b29e063a81eb6 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sun, 5 Apr 2015 22:13:24 +0200 Subject: Typo "fix" fixed. --- TestHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]); -- cgit