mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
remove stray validation
This commit is contained in:
parent
45f0840885
commit
0fb4ea424b
@ -220,9 +220,6 @@ class Block(object):
|
|||||||
if self.node_pubkey not in bigchain.federation:
|
if self.node_pubkey not in bigchain.federation:
|
||||||
raise SybilError('Only federation nodes can create blocks')
|
raise SybilError('Only federation nodes can create blocks')
|
||||||
|
|
||||||
if set(self.voters) != bigchain.federation:
|
|
||||||
raise SybilError('Block voters differs from server keyring')
|
|
||||||
|
|
||||||
# Check that the signature is valid
|
# Check that the signature is valid
|
||||||
if not self.is_signature_valid():
|
if not self.is_signature_valid():
|
||||||
raise InvalidSignature('Invalid block signature')
|
raise InvalidSignature('Invalid block signature')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user