mediachain / oldchain-client

[DEPRECATED] old mediachain client experiments
MIT License
4 stars 2 forks source link

fix BlockchainFollower issue when catchup is disabled #91

Closed yusefnapora closed 8 years ago

yusefnapora commented 8 years ago

the recent refactor introduced a bug when running with catchup disabled; we never set the catchup_complete event, so the main iterator waits on it forever.

This just sets the flag in the catchup thread if catchup is disabled, and makes sure we don't clear it again during a retry.

yusefnapora commented 8 years ago

I think I'll do a patch version bump for this, for easier deployment