Skip to content

Commit

Permalink
Fixes #74
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalodner committed Apr 3, 2018
1 parent 281ffa0 commit ee03ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Notebooks/blocksci/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def reduceFunc(cur, el):
return cur + el
init = list()
tx_ids = mapreduce_block_ranges(self, mapFunc, reduceFunc, init, start, end, cpu_count)
return [chain.tx_with_index(x) for x in tx_ids]
return [self.tx_with_index(x) for x in tx_ids]

Blockchain.map_blocks = map_blocks
Blockchain.filter_blocks = filter_blocks
Expand Down

0 comments on commit ee03ea8

Please sign in to comment.