return penalties

This commit is contained in:
Tuna 2019-03-22 15:31:56 +07:00
parent 65fb524a27
commit 31b97b7f2a

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