celestiaorg / nmt

Namespaced Merkle Tree
Apache License 2.0
117 stars 43 forks source link

Computing leaf node hash must include namespace ID #23

Closed adlerjohn closed 3 years ago

adlerjohn commented 3 years ago

Ref: https://github.com/lazyledger/lazyledger-specs/issues/145

The namespace ID of the leaf needs to be included in the computation of the leaf node hash.

liamsi commented 3 years ago

Looking on how lazyledger/lazyledger-specs#145 is tackled in lazyledger/lazyledger-specs#146 means we can close this, right?

adlerjohn commented 3 years ago

Yes in fact!