mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Docstring for get_vallidator_change needs to be updated
Solution: Updated it
This commit is contained in:
parent
8a7cbc1ffb
commit
84754f6a06
@ -38,12 +38,11 @@ class Election(Transaction):
|
||||
|
||||
@classmethod
|
||||
def get_validator_change(cls, bigchain):
|
||||
"""Return the latest change to the validator set
|
||||
"""Return the validator set from the most recent approved block
|
||||
|
||||
:return: {
|
||||
'height': <block_height>,
|
||||
'validators': <validator_set>,
|
||||
'election_id': <election_id_that_approved_the_change>
|
||||
'validators': <validator_set>
|
||||
}
|
||||
"""
|
||||
height = bigchain.get_latest_block()['height']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user