You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I scanned the history and it looks like pathCount = -1 is correct -- I think the pathCount-- was introduced as a bug; but as Ismael points out, the tests should have caught it but didn't.
We should write tests that fail when pathCount-- but passes with pathCount = -1.
The text was updated successfully, but these errors were encountered:
https://github.com/tendermint/iavl/pull/105/files#r215906281
I scanned the history and it looks like
pathCount = -1
is correct -- I think thepathCount--
was introduced as a bug; but as Ismael points out, the tests should have caught it but didn't.We should write tests that fail when
pathCount--
but passes withpathCount = -1
.The text was updated successfully, but these errors were encountered: