celestiaorg / smt

A Go library that implements a Sparse Merkle tree for a key-value map.
https://godoc.org/github.com/celestiaorg/smt
MIT License
138 stars 53 forks source link

fix digestLeaf method signature #3

Closed liamsi closed 4 years ago

liamsi commented 4 years ago

best reviewed without whitespace changes: https://github.com/lazyledger/smt/pull/3/files?diff=unified&w=1


liamsi commented 4 years ago

After https://github.com/lazyledger/smt/pull/3/commits/6c3df4dae4578a95b1e88a39eb02e9e154374e94 only the following fails: TestProofs: proofs_test.go:96: valid proof on empty key failed to verify all others pass