mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Co-authored-by: Aaron Chen <aaronchen.lisp@gmail.com>
This commit is contained in:
parent
bef85ec37b
commit
f0b523d635
1 changed files with 1 additions and 5 deletions
|
|
@ -172,11 +172,7 @@ func opByte(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) {
|
|||
|
||||
func opAddmod(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) {
|
||||
x, y, z := scope.Stack.pop(), scope.Stack.pop(), scope.Stack.peek()
|
||||
if z.IsZero() {
|
||||
z.Clear()
|
||||
} else {
|
||||
z.AddMod(&x, &y, z)
|
||||
}
|
||||
z.AddMod(&x, &y, z)
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue