Problem: Error in docstring return signature

Solution: Fixed the docstring
This commit is contained in:
z-bowen 2018-09-04 17:21:48 +02:00
parent 1e3caf8ccd
commit 30a5b9374d

View File

@ -38,13 +38,10 @@ class Election(Transaction):
"""Return the latest change to the validator set """Return the latest change to the validator set
:return: { :return: {
'height': <block_height>,
'asset': {
'height': <block_height>, 'height': <block_height>,
'validators': <validator_set>, 'validators': <validator_set>,
'election_id': <election_id_that_approved_the_change> 'election_id': <election_id_that_approved_the_change>
} }
}
""" """
return bigchain.get_validator_change(height) return bigchain.get_validator_change(height)