mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
started tests refactoring
This commit is contained in:
parent
80c55ce87a
commit
6e9542e837
@ -63,7 +63,7 @@ void connectClients(Client& c1, Client& c2)
|
|||||||
void mine(State& s, BlockChain const& _bc)
|
void mine(State& s, BlockChain const& _bc)
|
||||||
{
|
{
|
||||||
s.commitToMine(_bc);
|
s.commitToMine(_bc);
|
||||||
GenericFarm<ProofOfWork> f;
|
GenericFarm<Ethash> f;
|
||||||
bool completed = false;
|
bool completed = false;
|
||||||
f.onSolutionFound([&](ProofOfWork::Solution sol)
|
f.onSolutionFound([&](ProofOfWork::Solution sol)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user