Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Fix index iteration while checking membership of Merkle tree #209

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CodesMcCabe
Copy link

@CodesMcCabe CodesMcCabe commented Jan 15, 2019

Right side hashing would never occur as _index never changed from 0. Changed the conditional to index in order to map the correct index value upon iteration of multiple leaves.

Also fixed a miscalculation of the txindex when decoding a utxo id

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant