aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/util_test.go
blob: 3da742bfa08e3834d9855026bffd455b9f371884 (plain) (blame)
1
2
3
4
5
6
7
8
9
package vm

import "math/big"

type ruleSet struct {
    hs *big.Int
}

func (r ruleSet) IsHomestead(n *big.Int) bool { return n.Cmp(r.hs) >= 0 }