Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make function comments match function names #1163

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion constraint/string_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (sbb *StringBuilder) WriteLinearExpression(l LinearExpression) {
}
}

// WriteLinearExpression appends the term to the current buffer
// WriteTerm appends the term to the current buffer
func (sbb *StringBuilder) WriteTerm(t Term) {
if t.CoeffID() == CoeffIdZero {
sbb.WriteByte('0')
Expand Down
2 changes: 1 addition & 1 deletion examples/rollup/circuit.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (circuit *Circuit) Define(api frontend.API) error {
return nil
}

// verifySignatureTransfer ensures that the signature of the transfer is valid
// verifyTransferSignature ensures that the signature of the transfer is valid
func verifyTransferSignature(api frontend.API, t TransferConstraints, hFunc mimc.MiMC) error {

// Reset the hash state!
Expand Down
2 changes: 1 addition & 1 deletion examples/rollup/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (o *Operator) readAccount(i uint64) (Account, error) {
return res, nil
}

// updateAccount updates the state according to transfer
// updateState updates the state according to transfer
// numTransfer is the number of the transfer currently handled (between 0 and BatchSizeCircuit)
func (o *Operator) updateState(t Transfer, numTransfer int) error {

Expand Down
Loading