Merge pull request #475 from ngtuna/penalty-tip

fix penaltyTIP
This commit is contained in:
Tuna 2019-03-22 15:32:39 +07:00 committed by GitHub
commit 1a1977bc7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)))
penalties = append(penalties, penComebacks...)
return penComebacks, nil
return penalties, nil
}
return []common.Address{}, nil