Skip to content

Commit

Permalink
Merge PR cosmos#304: Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
yjhmelody authored and cwgoes committed Nov 8, 2019
1 parent bba5947 commit 399ae8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/ics-002-client-semantics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,11 +566,11 @@ interface Evidence {

// algorithm run by operator to commit a new block
function commit(
root: CommitmentRoot,
commitmentRoot: CommitmentRoot,
sequence: uint64,
newPublicKey: Maybe<PublicKey>): Header {
signature = privateKey.sign(root, sequence, newPublicKey)
header = {sequence, root, signature, newPublicKey}
signature = privateKey.sign(commitmentRoot, sequence, newPublicKey)
header = {sequence, commitmentRoot, signature, newPublicKey}
return header
}

Expand Down

0 comments on commit 399ae8f

Please sign in to comment.