penalties returned

This commit is contained in:
AnilChinchawale 2019-03-25 11:52:00 +05:30
parent 41ba2c6b33
commit ef94c38a68

View file

@ -419,7 +419,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
log.Debug("Time Calculated HookPenaltyTIPSigning ", "block", header.Number, "hash", header.Hash().Hex(), "pen comeback nodes", len(penComebacks), "not enough miner", len(penalties), "time", common.PrettyDuration(time.Since(start))) log.Debug("Time Calculated HookPenaltyTIPSigning ", "block", header.Number, "hash", header.Hash().Hex(), "pen comeback nodes", len(penComebacks), "not enough miner", len(penalties), "time", common.PrettyDuration(time.Since(start)))
penalties = append(penalties, penComebacks...) penalties = append(penalties, penComebacks...)
return penComebacks, nil return penalties, nil
} }
return []common.Address{}, nil return []common.Address{}, nil