core, core/vm, core/state: remove unused functions

This commit is contained in:
Gustav Simonsson
2015-09-10 15:24:36 +02:00
parent 90f1fe0ed2
commit b81a6e6ab8
6 changed files with 0 additions and 281 deletions

View File

@ -25,20 +25,3 @@ import (
var OutOfGasError = errors.New("Out of gas")
var DepthError = fmt.Errorf("Max call depth exceeded (%d)", params.CallCreateDepth)
type StackError struct {
req, has int
}
func StackErr(req, has int) StackError {
return StackError{req, has}
}
func (self StackError) Error() string {
return fmt.Sprintf("stack error! require %v, have %v", self.req, self.has)
}
func IsStackErr(err error) bool {
_, ok := err.(StackError)
return ok
}