mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
clean up
This commit is contained in:
parent
f72e8d93a6
commit
132533babb
@ -533,7 +533,7 @@ void overwriteBlockHeader(BlockInfo& _current_BlockHeader, mObject& _blObj)
|
||||
std::pair<MineInfo, Ethash::Proof> ret;
|
||||
while (!ProofOfWork::verify(_current_BlockHeader))
|
||||
{
|
||||
ret = pow.mine(_current_BlockHeader, 1000, true, true); // tie(ret, blockFromFields.nonce)
|
||||
ret = pow.mine(_current_BlockHeader, 1000, true, true);
|
||||
Ethash::assignResult(ret.second, _current_BlockHeader);
|
||||
}
|
||||
}
|
||||
@ -580,7 +580,7 @@ void updatePoW(BlockInfo& _bi)
|
||||
std::pair<MineInfo, Ethash::Proof> ret;
|
||||
while (!ProofOfWork::verify(_bi))
|
||||
{
|
||||
ret = pow.mine(_bi, 10000, true, true); // tie(ret, blockFromFields.nonce)
|
||||
ret = pow.mine(_bi, 10000, true, true);
|
||||
Ethash::assignResult(ret.second, _bi);
|
||||
}
|
||||
_bi.hash = _bi.headerHash(WithNonce);
|
||||
|
Loading…
Reference in New Issue
Block a user