From ab2022e5ade348a0ca4a69c6b0758c4a89135cc0 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sat, 20 Jan 2018 21:51:36 +1030 Subject: [PATCH] Also use full hash in auditor --- eosweb/core/templates/election/auditor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eosweb/core/templates/election/auditor.html b/eosweb/core/templates/election/auditor.html index 4a9a18b..0fa76f8 100644 --- a/eosweb/core/templates/election/auditor.html +++ b/eosweb/core/templates/election/auditor.html @@ -195,7 +195,7 @@ auditContentsInner.innerHTML += '

Question ' + (questionNum + 1) + ': ' + election.questions.__getitem__(questionNum).pretty_answer(auditBallot.answers.__getitem__(questionNum)) + '

'; } - auditContentsInner.innerHTML += '

Please check that the ballot fingerprint you recorded matches the following computed ballot fingerprint: ' + eosjs.eos.core.hashing.__all__.SHA256().update_obj(auditBallot).hash_as_b64(true) + '.

'; + auditContentsInner.innerHTML += '

Please check that the ballot fingerprint you recorded matches the following computed ballot fingerprint: ' + eosjs.eos.core.hashing.__all__.SHA256().update_obj(auditBallot).hash_as_b64() + '.

'; auditContentsInner.innerHTML += '

If the selections are correct, and the ballot fingerprint matches, then the ballot has been prepared correctly.

'; return true;