mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
[wip] Attempt to remove genesis block
This commit is contained in:
parent
73d6add36f
commit
e9b4b99946
@ -598,8 +598,7 @@ class Bigchain(object):
|
|||||||
.order_by(r.desc(r.row['block']['timestamp'])) \
|
.order_by(r.desc(r.row['block']['timestamp'])) \
|
||||||
.run(self.conn)
|
.run(self.conn)
|
||||||
|
|
||||||
if unvoted and util.is_genesis_block(unvoted[0]):
|
unvoted = filter(lambda block: not util.is_genesis_block(block), unvoted)
|
||||||
unvoted.pop(0)
|
|
||||||
|
|
||||||
return unvoted
|
return unvoted
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user