diff --git a/eosweb/core/templates/election/voter/view.html b/eosweb/core/templates/election/voter/view.html index 423e711..dd4c690 100644 --- a/eosweb/core/templates/election/voter/view.html +++ b/eosweb/core/templates/election/voter/view.html @@ -60,7 +60,7 @@
- {{ eos.core.hashing.SHA256().update_obj(vote).hash_as_b64(True) }} + {{ eos.core.hashing.SHA256().update_obj(vote.ballot).hash_as_b64() }}
{% if session.user and session.user.is_admin() %}{{ eos.core.objects.EosObject.to_json(eos.core.objects.EosObject.serialise_and_wrap(vote)) }}{% else %}{{ eos.core.objects.EosObject.to_json(eos.core.objects.EosObject.serialise_and_wrap(vote, options=eos.core.objects.SerialiseOptions(should_protect=True))) }}{% endif %}