Closed liamsi closed 4 years ago
best reviewed without whitespace changes: https://github.com/lazyledger/smt/pull/3/files?diff=unified&w=1
digestLeaf
go fmt
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
TestProofs: proofs_test.go:96: valid proof on empty key failed to verify
best reviewed without whitespace changes: https://github.com/lazyledger/smt/pull/3/files?diff=unified&w=1
digestLeaf
: otherwise might calldigestLeaf
with value and path roles mixed up (as happened here)go fmt