use more mocking in tests

This commit is contained in:
Robert Habermeier
2016-09-05 12:17:21 +02:00
parent a0541738ab
commit 2bf235e226
2 changed files with 41 additions and 43 deletions

View File

@@ -20,8 +20,7 @@ use util::H256;
/// Represents what has to be handled by actor listening to chain events
#[derive(Ipc)]
pub trait ChainNotify : Send + Sync {
/// fires when chain has new blocks, not including those encountered during
/// a major sync.
/// fires when chain has new blocks.
fn new_blocks(&self,
_imported: Vec<H256>,
_invalid: Vec<H256>,