txaty / go-merkletree

Go Merkle Tree. High performance, Supporting parallel run, OpenZeppelin sorting pairs.
https://pkg.go.dev/github.com/txaty/go-merkletree
MIT License
110 stars 17 forks source link

Remove useless error checks in default hash functions #16

Closed txaty closed 1 year ago

txaty commented 1 year ago

Signed-off-by: txaty xtianae@connect.ust.hk

codecov[bot] commented 1 year ago

Codecov Report

Merging #16 (fc8521b) into main (3d0415b) will increase coverage by 0.59%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   91.03%   91.62%   +0.59%     
==========================================
  Files           2        2              
  Lines         435      430       -5     
==========================================
- Hits          396      394       -2     
+ Misses         26       24       -2     
+ Partials       13       12       -1     
Impacted Files Coverage Δ
default_hash.go 100.00% <100.00%> (+21.42%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more