all tests fixed

This commit is contained in:
Nikolay Volf
2016-05-31 22:24:32 +02:00
parent dad61bb7cf
commit d45a676dc0
11 changed files with 37 additions and 27 deletions

View File

@@ -15,7 +15,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
use util::*;
use ethcore::client::{TestBlockChainClient, BlockChainClient};
use ethcore::client::{TestBlockChainClient, MiningBlockChainClient, BlockChainClient};
use ethcore::spec::Spec;
use io::SyncIo;
use chain::ChainSync;
@@ -62,7 +62,7 @@ impl<'p> SyncIo for TestIo<'p> {
Ok(())
}
fn chain(&self) -> &MiningClient {
fn chain(&self) -> &BlockChainClient {
self.chain
}
}