diff --git a/bigchaindb/core.py b/bigchaindb/core.py index eabe7947..07970693 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -573,6 +573,7 @@ class Bigchain(object): try: # get the latest value for the vote timestamp (over all votes) max_timestamp = r.table('votes') \ + .filter(r.row['node_pubkey'] == self.me) \ .concat_map(lambda x: [x['vote']['timestamp']]) \ .max() \ .run(self.conn)