Commit c7dfbba 1 parent 8cef4c8 commit c7dfbba Copy full SHA for c7dfbba
File tree 2 files changed +1
-7
lines changed
node/src/actors/chain_manager
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -166,12 +166,6 @@ impl ChainManager {
166
166
// Get consensus parameter from config
167
167
act. consensus_c = config. connections . consensus_c ;
168
168
169
- if act. mining_enabled {
170
- debug ! ( "Mining enabled!" ) ;
171
- } else {
172
- debug ! ( "Mining explicitly disabled by configuration." ) ;
173
- }
174
-
175
169
fut:: ok ( ( ) )
176
170
} ) . map_err ( |err, _, _| {
177
171
log:: error!( "Couldn't initialize from storage: {}" , err) ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ impl ChainManager {
41
41
/// Try to mine a block
42
42
pub fn try_mine_block ( & mut self , ctx : & mut Context < Self > ) {
43
43
if !self . mining_enabled {
44
- debug ! ( "Mining not enabled " ) ;
44
+ debug ! ( "Mining disabled in configuration " ) ;
45
45
return ;
46
46
}
47
47
You can’t perform that action at this time.
0 commit comments