Disable noisy log from consensus engine

This commit is contained in:
Hyunsik Lee 2020-09-16 02:15:48 +09:00
parent 537c5db510
commit 7bd1c1f23d
No known key found for this signature in database
GPG Key ID: F7753D0CCA180521

View File

@ -947,11 +947,11 @@ func (p *Parlia) distributeIncoming(val common.Address, state *state.StateDB, he
if err != nil {
return err
}
log.Info("distribute to system reward pool", "block hash", header.Hash(), "amount", rewards)
// log.Info("distribute to system reward pool", "block hash", header.Hash(), "amount", rewards)
balance = balance.Sub(balance, rewards)
}
}
log.Info("distribute to validator contract", "block hash", header.Hash(), "amount", balance)
/// log.Info("distribute to validator contract", "block hash", header.Hash(), "amount", balance)
return p.distributeToValidator(balance, val, state, header, chain, txs, receipts, receivedTxs, usedGas, mining)
}