started tests refactoring

This commit is contained in:
arkpar 2015-07-16 18:11:08 +02:00 committed by Gav Wood
parent 07a29389d6
commit 32916c3362

View File

@ -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)
{ {