Skip to content

Commit c7dfbba

Browse files
committed
chore: remove "mining enabled" log
1 parent 8cef4c8 commit c7dfbba

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

node/src/actors/chain_manager/actor.rs

-6
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ impl ChainManager {
166166
// Get consensus parameter from config
167167
act.consensus_c = config.connections.consensus_c;
168168

169-
if act.mining_enabled {
170-
debug!("Mining enabled!");
171-
} else {
172-
debug!("Mining explicitly disabled by configuration.");
173-
}
174-
175169
fut::ok(())
176170
}).map_err(|err,_,_| {
177171
log::error!("Couldn't initialize from storage: {}", err);

node/src/actors/chain_manager/mining.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl ChainManager {
4141
/// Try to mine a block
4242
pub fn try_mine_block(&mut self, ctx: &mut Context<Self>) {
4343
if !self.mining_enabled {
44-
debug!("Mining not enabled");
44+
debug!("Mining disabled in configuration");
4545
return;
4646
}
4747

0 commit comments

Comments
 (0)