1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-28 00:27:45 +02:00

fix in election pipeline

This commit is contained in:
Scott Sadler 2017-02-27 16:23:46 +01:00
parent 1eefcff736
commit 9bdc8ca341

View File

@ -41,7 +41,7 @@ class Election:
next_block = self.bigchain.get_block(block_id)
result = self.bigchain.block_election_status(next_block)
result = self.bigchain.block_election(next_block)
if result['status'] == self.bigchain.BLOCK_INVALID:
return Block.from_dict(next_block)