vm: flip sha3 result

This commit is contained in:
Ethan Buchman
2015-03-30 20:50:56 -07:00
parent a976721a97
commit e6c352dba0

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