Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Conversation

@str4d
Copy link

@str4d str4d commented Dec 6, 2016

Also fixes a few bugs.

msg = msg_inv()
while height <= end_height:
hash = long(self.chaindb.height[str(height)])
hash = self.chaindb.getblockhash(height)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what the intended behaviour was here, because previously self.chaindb.height[str(height)] could have returned a list of block hashes. For now, the new method defaults to the first hash.

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