Skip to content

Commit

Permalink
remove unreachable codes
Browse files Browse the repository at this point in the history
  • Loading branch information
laser committed Apr 23, 2018
1 parent d3a4fbb commit d2d3056
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion merkletree.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ func (t *Tree) getLeafIdxByChecksum(checksum []byte) int {
for i := 0; i < len(t.rows[0]); i++ {
if bytes.Equal(checksum, t.rows[0][i].GetChecksum()) {
return i
break
}
}

Expand Down

0 comments on commit d2d3056

Please sign in to comment.