cbergoon / merkletree

A Merkle Tree implementation written in Go.
MIT License
491 stars 126 forks source link

Remove duplicated code #6

Closed arturalbov closed 5 years ago

arturalbov commented 5 years ago

Hello! I've noticed that this code is duplicated (condition doesn't make sense cause it runs the same code in if and in else section)

cbergoon commented 5 years ago

Good eye - thanks for the PR!