Skip to content

chore: make function comment match function name #5659

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 txnbuild/set_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (so *SetOptions) handleMediumThreshold() {
}
}

// handleLowMediumXDR for SetOptions sets value of the account's "medium" threshold.
// handleMediumThresholdXDR for SetOptions sets value of the account's "medium" threshold.
// See https://developers.stellar.org/docs/glossary/multisig/
func (so *SetOptions) handleMediumThresholdXDR(weight *xdr.Uint32) {
if weight != nil {
Expand Down
2 changes: 1 addition & 1 deletion txnbuild/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ func verifyTxSignature(tx *Transaction, network string, signer string) error {
return err
}

// verifyTxSignature checks if a transaction has been signed by one or more of
// verifyTxSignatures checks if a transaction has been signed by one or more of
// the signers, returning a list of signers that were found to have signed the
// transaction.
func verifyTxSignatures(tx *Transaction, network string, signers ...string) ([]string, error) {
Expand Down
2 changes: 1 addition & 1 deletion xdr/preconditions.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package xdr

// NewPreconditionsWithTimebounds constructs the simplest possible
// NewPreconditionsWithTimeBounds constructs the simplest possible
// `Preconditions` instance given the (possibly empty) timebounds.
func NewPreconditionsWithTimeBounds(timebounds *TimeBounds) Preconditions {
cond := Preconditions{Type: PreconditionTypePrecondNone}
Expand Down