This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit c0a5fca74f271964b65078f3473dc5e200bcb52d
Author: Greg Stein <[email protected]>
AuthorDate: Mon May 30 18:43:00 2022 -0500

    fix is_tampered() after some prior changes
---
 v3/steve/election.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/v3/steve/election.py b/v3/steve/election.py
index ec94740..e8ef73e 100644
--- a/v3/steve/election.py
+++ b/v3/steve/election.py
@@ -192,7 +192,9 @@ class Election:
     def is_tampered(self):
 
         # The Election should be open.
-        assert self.is_opened()
+        assert self.is_open()
+
+        md = self.q_metadata.first_row()
 
         # Compute an opened_key based on the current data.
         edata = self.gather_election_data()

Reply via email to