Fix left over small grumbles on whitespaces (#10084)
This commit is contained in:
parent
c90e279ab5
commit
78ba54da6b
@ -134,7 +134,7 @@ pub struct NewBlocks {
|
|||||||
|
|
||||||
impl NewBlocks {
|
impl NewBlocks {
|
||||||
/// Constructor
|
/// Constructor
|
||||||
pub fn new (
|
pub fn new(
|
||||||
imported: Vec<H256>,
|
imported: Vec<H256>,
|
||||||
invalid: Vec<H256>,
|
invalid: Vec<H256>,
|
||||||
route: ChainRoute,
|
route: ChainRoute,
|
||||||
@ -158,7 +158,7 @@ impl NewBlocks {
|
|||||||
/// Represents what has to be handled by actor listening to chain events
|
/// Represents what has to be handled by actor listening to chain events
|
||||||
pub trait ChainNotify : Send + Sync {
|
pub trait ChainNotify : Send + Sync {
|
||||||
/// fires when chain has new blocks.
|
/// fires when chain has new blocks.
|
||||||
fn new_blocks( &self, _new_blocks: NewBlocks) {
|
fn new_blocks(&self, _new_blocks: NewBlocks) {
|
||||||
// does nothing by default
|
// does nothing by default
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user