mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
core/vm: push leftover stack items after execution, not before
This commit is contained in:
parent
91016a7f6a
commit
078ff10b64
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ func (in *Interpreter) Run(contract *Contract, input []byte) (ret []byte, err er
|
|||
contract.Input = input
|
||||
|
||||
// Reclaim the stack as an int pool when the execution stops
|
||||
defer in.intPool.put(stack.data...)
|
||||
defer func() { in.intPool.put(stack.data...) }()
|
||||
|
||||
if in.cfg.Debug {
|
||||
defer func() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue