piston-lib icon indicating copy to clipboard operation
piston-lib copied to clipboard

No module named get_block_from_time

Open lunaluxie opened this issue 7 years ago • 0 comments

I'm running the code from the example here

from steem.blockchain import Blockchain
	# parse only payments from specific datetime until now
	b = Blockchain()
	history = b.replay(
	    start_block=b.get_block_from_time("2017-03-01T00:00:00"),
	    end_block=b.get_current_block(),
	    filter_by=['transfer']
	)

However, it says: 'Blockchain' object has no attribute 'get_block_from_time'.

I'm using Python 3.6

lunaluxie avatar Jul 01 '17 06:07 lunaluxie