mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
get correct part of block
This commit is contained in:
parent
eb444c0771
commit
1557a3b51b
@ -228,8 +228,7 @@ class Election(object):
|
|||||||
while True:
|
while True:
|
||||||
invalid_block = self.q_invalid_blocks.get()
|
invalid_block = self.q_invalid_blocks.get()
|
||||||
b = Bigchain()
|
b = Bigchain()
|
||||||
|
for tx in invalid_block['block']['transactions']:
|
||||||
for tx in invalid_block['transactions']:
|
|
||||||
b.write_transaction(tx)
|
b.write_transaction(tx)
|
||||||
|
|
||||||
def kill(self):
|
def kill(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user