Fixes for tests.

This commit is contained in:
Gav Wood
2014-05-28 11:52:42 +02:00
parent 305ddf1fed
commit a418c6c09c
5 changed files with 46 additions and 7 deletions
+2 -2
View File
@@ -156,7 +156,7 @@ public:
previousBlock.hash = h256(_o["previousHash"].get_str());
currentBlock.number = toInt(_o["currentNumber"]);
currentBlock.gasLimit = toInt(_o["gasLimit"]);
currentBlock.gasLimit = toInt(_o["currentGasLimit"]);
currentBlock.difficulty = toInt(_o["currentDifficulty"]);
currentBlock.timestamp = toInt(_o["currentTimestamp"]);
currentBlock.coinbaseAddress = Address(_o["currentCoinbase"].get_str());
@@ -250,7 +250,7 @@ public:
mArray d;
for (auto const& i: get<3>(a.second))
push(d, i);
ret["code"] = d;
o["code"] = d;
}
ret[toString(a.first)] = o;