eliminate delay workaround post-fork

This commit is contained in:
Brannon King 2021-08-12 11:22:54 -04:00
parent 45e6adbe46
commit fbb382d45a

View file

@ -269,6 +269,10 @@ func hasZeroActiveClaims(n *Node) bool {
// aWorkaroundIsNeeded handles bugs that existed in previous versions
func (nm *BaseManager) aWorkaroundIsNeeded(n *Node, chg change.Change) bool {
if chg.Height >= param.ActiveParams.GrandForkHeight {
return false
}
if chg.Type == change.SpendClaim || chg.Type == change.SpendSupport {
return false
}