xeroc / piston-lib

Python Library for Steem
MIT License
40 stars 33 forks source link

Fix blocks to use "stop" param #54

Closed hrosspet closed 7 years ago

hrosspet commented 7 years ago

blocks took "stop" parameter into account only when it was greater than self.get_current_block_num()

xeroc commented 7 years ago

Thanks for the PR, but I don't want that method to terminate at head block, I want it to be a method that keeps going unless stop is defined

hrosspet commented 7 years ago

But the method keeps going even though stop is defined. I fixed that bug and preserved your intended behavior without stop being defined.

xeroc commented 7 years ago

I read your code wrong. Looks good. Thanks