Skip to content

Commit

Permalink
Fix order of arguments in the call to vrfChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdiaz72 committed May 7, 2024
1 parent 7c07c27 commit f9b03fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/formal-spec/chain.tex
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ \subsection{Verifiable Random Function}
\begin{align*}
& \fun{vrfChecks} \in \Nonce \to \BHBody \to \Bool \\
& \fun{vrfChecks}~\eta_0~\var{bhb} =
\verifyVrf{\VRFRes}{\var{vrfK}}{((\slotToSeed{slot})~\XOR~(\nonceToSeed{\eta_0}))}{(\var{value},~\var{proof}}) \\
\verifyVrf{\VRFRes}{\var{vrfK}}{((\slotToSeed{slot})~\XOR~(\nonceToSeed{\eta_0}))}{(\var{proof},~\var{value}}) \\
& ~~~~\where \\
& ~~~~~~~~~~\var{slot} \leteq \hBSlot{bhb} \\
& ~~~~~~~~~~\var{vrfK} \leteq \fun{hBVrfVk}~\var{bhb} \\
Expand Down

0 comments on commit f9b03fa

Please sign in to comment.