Client trait reorg

This commit is contained in:
keorn
2016-12-10 18:35:29 +01:00
parent f3af0f46be
commit b6c7ed24b7
4 changed files with 12 additions and 13 deletions

View File

@@ -363,8 +363,6 @@ impl MiningBlockChainClient for TestBlockChainClient {
fn broadcast_proposal_block(&self, _block: SealedBlock) {}
fn broadcast_message(&self, _message: Bytes) {}
fn update_sealing(&self) {
self.miner.update_sealing(self)
}
@@ -681,6 +679,8 @@ impl BlockChainClient for TestBlockChainClient {
self.spec.engine.handle_message(UntrustedRlp::new(&message)).unwrap();
}
fn broadcast_consensus_message(&self, _message: Bytes) {}
fn pending_transactions(&self) -> Vec<SignedTransaction> {
self.miner.pending_transactions(self.chain_info().best_block_number)
}