mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix in election pipeline
This commit is contained in:
parent
1eefcff736
commit
9bdc8ca341
@ -41,7 +41,7 @@ class Election:
|
|||||||
|
|
||||||
next_block = self.bigchain.get_block(block_id)
|
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:
|
if result['status'] == self.bigchain.BLOCK_INVALID:
|
||||||
return Block.from_dict(next_block)
|
return Block.from_dict(next_block)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user