diff options
author | arkpar <arkady.paronyan@gmail.com> | 2015-07-25 01:53:23 +0800 |
---|---|---|
committer | arkpar <arkady.paronyan@gmail.com> | 2015-07-25 01:53:23 +0800 |
commit | fb83d5440e11b21e0235df18a5c9c736a692ecc6 (patch) | |
tree | 764fb674ae9cb9e69041a66429820b0b083a89d5 | |
parent | 14f54abeec1eca17d6d435bd72eb4673c48e2ee2 (diff) | |
download | dexon-solidity-fb83d5440e11b21e0235df18a5c9c736a692ecc6.tar.gz dexon-solidity-fb83d5440e11b21e0235df18a5c9c736a692ecc6.tar.zst dexon-solidity-fb83d5440e11b21e0235df18a5c9c736a692ecc6.zip |
more tests fixed
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index d7c8d333..ab9a1749 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -69,6 +69,7 @@ void mine(State& s, BlockChain const& _bc) sealer->onSealGenerated([&](bytes const& sealedHeader){ sealed = sealedHeader; }); sealer->generateSeal(s.info()); sealed.waitNot({}); + sealer.reset(); s.sealBlock(sealed); } @@ -79,6 +80,7 @@ void mine(Ethash::BlockHeader& _bi) sealer->onSealGenerated([&](bytes const& sealedHeader){ sealed = sealedHeader; }); sealer->generateSeal(_bi); sealed.waitNot({}); + sealer.reset(); _bi = Ethash::BlockHeader(sealed, IgnoreSeal, h256{}, HeaderData); } |