mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix opsysblockhash dont pop at end
This commit is contained in:
parent
1ed0639ae9
commit
8bb0cc0ffc
1 changed files with 1 additions and 1 deletions
|
|
@ -507,6 +507,7 @@ func opSYSBlockhash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext
|
|||
num.Clear()
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
var upper, lower uint64
|
||||
upper = interpreter.evm.Context.BlockNumber.Uint64()
|
||||
if upper < 50001 {
|
||||
|
|
@ -519,7 +520,6 @@ func opSYSBlockhash(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext
|
|||
} else {
|
||||
num.Clear()
|
||||
}
|
||||
scope.Stack.pop()
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue