From 84754f6a06398cb76ec73f0daf80b4cdf9eab625 Mon Sep 17 00:00:00 2001 From: z-bowen Date: Fri, 14 Sep 2018 14:23:30 +0200 Subject: [PATCH] Problem: Docstring for `get_vallidator_change` needs to be updated Solution: Updated it --- bigchaindb/elections/election.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bigchaindb/elections/election.py b/bigchaindb/elections/election.py index 0730283d..dd30640e 100644 --- a/bigchaindb/elections/election.py +++ b/bigchaindb/elections/election.py @@ -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': , - 'validators': , - 'election_id': + 'validators': } """ height = bigchain.get_latest_block()['height']