aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-07-29 15:16:21 +0800
committerGav Wood <g@ethdev.com>2015-07-29 15:16:21 +0800
commit32997834f1dbde97e14aac95b2efbc1cc59c4ca0 (patch)
tree2ada9faa7d152f55f5cca2870dd4a2205b68a473
parentdf69b920cfc25c75ca494264ae2641598a26f0cd (diff)
parent48cc04c3c74de1b50919aa2790f95fd208dc14a6 (diff)
downloaddexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar.gz
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar.bz2
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar.lz
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar.xz
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.tar.zst
dexon-solidity-32997834f1dbde97e14aac95b2efbc1cc59c4ca0.zip
Merge pull request #2624 from CJentzsch/FrontierTests
fix BlockChainTest creation
-rw-r--r--TestHelper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index ab9a1749..a0737859 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -81,7 +81,7 @@ void mine(Ethash::BlockHeader& _bi)
sealer->generateSeal(_bi);
sealed.waitNot({});
sealer.reset();
- _bi = Ethash::BlockHeader(sealed, IgnoreSeal, h256{}, HeaderData);
+ _bi = Ethash::BlockHeader(sealed, CheckNothing, h256{}, HeaderData);
}
}
@@ -843,7 +843,7 @@ dev::eth::Ethash::BlockHeader constructHeader(
rlpStream << _parentHash << _sha3Uncles << _coinbaseAddress << _stateRoot << _transactionsRoot << _receiptsRoot << _logBloom
<< _difficulty << _number << _gasLimit << _gasUsed << _timestamp << _extraData << h256{} << Nonce{};
- return Ethash::BlockHeader(rlpStream.out(), IgnoreSeal, h256{}, HeaderData);
+ return Ethash::BlockHeader(rlpStream.out(), CheckNothing, h256{}, HeaderData);
}
void updateEthashSeal(dev::eth::Ethash::BlockHeader& _header, h256 const& _mixHash, dev::eth::Nonce const& _nonce)
@@ -857,7 +857,7 @@ void updateEthashSeal(dev::eth::Ethash::BlockHeader& _header, h256 const& _mixHa
header << sourceRlp[i];
header << _mixHash << _nonce;
- _header = Ethash::BlockHeader(header.out(), IgnoreSeal, h256{}, HeaderData);
+ _header = Ethash::BlockHeader(header.out(), CheckNothing, h256{}, HeaderData);
}
namespace