Skip to content

Commit a3fd922

Browse files
committed
Fix formatting errors
1 parent c464d0e commit a3fd922

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codechain/run_node.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@ fn new_miner(config: &config::Config, scheme: &Scheme, ap: Arc<AccountProvider>)
115115
None => return Err("mining.author is not specified".to_string()),
116116
},
117117
EngineType::InternalSealing => match &config.mining.engine_signer {
118-
Some(ref engine_signer) => {
119-
miner.set_author(engine_signer.address, None).map_err(|e| format!("{:?}", e))?
120-
}
118+
Some(ref engine_signer) => miner.set_author(engine_signer.address, None).map_err(|e| format!("{:?}", e))?,
121119
None => return Err("mining.engine_signer is not specified".to_string()),
122120
},
123121
EngineType::Solo => (),

0 commit comments

Comments
 (0)