// CreateAddress creates an ethereum address given the bytes and the nonce
CreateAddress creates an ethereum address given the bytes and the nonce
// CreateAddress creates an ethereum address given the bytes and the nonce
func CreateAddress(b Address, nonce uint64) Address {
	data, _ := rlp.EncodeToBytes([]interface{}{b, nonce})
	h, _ := Hash256s(data)
	return BytesToAddress(h[12:])
}
func CreateAddress ( b Address , nonce uint64 ) Address { data , _ := rlp . EncodeToBytes ( [ ] interface { } { b , nonce } ) h , _ := Hash256s ( data ) return BytesToAddress ( h [ 12 : ] ) }
CreateAddress creates an ethereum address given the bytes and the nonce
CreateAddress creates an ethereum address given the bytes and the nonce
//buf := new(bytes.Buffer) //buf.Write(b[:]) //rtl.ToBinaryBuffer(nonce, buf) //return BytesToAddress(h[12:])