diff options
Diffstat (limited to 'core/vm/errors.go')
-rw-r--r-- | core/vm/errors.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/vm/errors.go b/core/vm/errors.go index ab011bd62..fc3459de0 100644 --- a/core/vm/errors.go +++ b/core/vm/errors.go @@ -2,6 +2,7 @@ package vm import ( "fmt" + "github.com/ethereum/go-ethereum/params" "math/big" ) @@ -42,7 +43,7 @@ func IsStack(err error) bool { type DepthError struct{} func (self DepthError) Error() string { - return fmt.Sprintf("Max call depth exceeded (%d)", MaxCallDepth) + return fmt.Sprintf("Max call depth exceeded (%d)", params.CallCreateDepth) } func IsDepthErr(err error) bool { |