diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-07-04 01:54:14 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-07-04 15:27:42 +0800 |
commit | 0f04af5916cba5234118a442b6100c8122389abf (patch) | |
tree | 5941123c1c1ad743d2e4e231481fdb93d005224c /core/execution.go | |
parent | 9c3db1be1dd24c366a58a7ced22adfa0b0839efe (diff) | |
download | go-tangerine-0f04af5916cba5234118a442b6100c8122389abf.tar.gz go-tangerine-0f04af5916cba5234118a442b6100c8122389abf.tar.zst go-tangerine-0f04af5916cba5234118a442b6100c8122389abf.zip |
Fix core error forwarding, unify OOG VM err
Diffstat (limited to 'core/execution.go')
-rw-r--r-- | core/execution.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/execution.go b/core/execution.go index 9fb0210de..a8c4ffb6d 100644 --- a/core/execution.go +++ b/core/execution.go @@ -53,7 +53,7 @@ func (self *Execution) exec(contextAddr *common.Address, code []byte, caller vm. if env.Depth() > int(params.CallCreateDepth.Int64()) { caller.ReturnGas(self.Gas, self.price) - return nil, vm.DepthError{} + return nil, vm.DepthError } vsnapshot := env.State().Copy() |