util_test.go 143 B

123456789
  1. package vm
  2. import "math/big"
  3. type ruleSet struct {
  4. hs *big.Int
  5. }
  6. func (r ruleSet) IsHomestead(n *big.Int) bool { return n.Cmp(r.hs) >= 0 }