Browse Source

vm: flip sha3 result

pull/43/merge
Ethan Buchman 10 years ago
parent
commit
e6c352dba0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      vm/vm.go

+ 1
- 1
vm/vm.go View File

@ -318,7 +318,7 @@ func (vm *VM) call(caller, callee *Account, code, input []byte, value uint64, ga
return nil, firstErr(err, ErrMemoryOutOfBounds)
}
data = sha3.Sha3(data)
stack.PushBytes(data)
stack.PushBytes(flip(data))
dbg.Printf(" => (%v) %X\n", size, data)
case ADDRESS: // 0x30


Loading…
Cancel
Save