aboutsummaryrefslogtreecommitdiffstats
path: root/vm/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-18 06:58:52 +0800
committerobscuren <geffobscura@gmail.com>2014-12-18 06:58:52 +0800
commit4dbdcaecb117d7e1fcaf0869f5d4602312552991 (patch)
tree2da5cc7174f2f0a26f6c5aa20d079f94858e24cb /vm/common.go
parentb1c58b76a9588a90db5a773a997bb70265c378d3 (diff)
downloaddexon-4dbdcaecb117d7e1fcaf0869f5d4602312552991.tar.gz
dexon-4dbdcaecb117d7e1fcaf0869f5d4602312552991.tar.zst
dexon-4dbdcaecb117d7e1fcaf0869f5d4602312552991.zip
Moved pre-compiled, moved depth check
* Depth check has been moved to the execution * Pre compiled execution has been moved to the VM * PrecompiledAddress has been renamed to PrecompiledAccount
Diffstat (limited to 'vm/common.go')
-rw-r--r--vm/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/common.go b/vm/common.go
index 592d44ccd..3d6d377ca 100644
--- a/vm/common.go
+++ b/vm/common.go
@@ -48,7 +48,7 @@ var (
S256 = ethutil.S256
)
-const MaxCallDepth = 1025
+const MaxCallDepth = 1024
func calcMemSize(off, l *big.Int) *big.Int {
if l.Cmp(ethutil.Big0) == 0 {