Skip to content

chore: make function comment match function name #5623

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 support/time/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (t Millis) RoundUp(d int64) Millis {
return t
}

// RoundUp returns a new ToInt64 instance with a down to d millis
// RoundDown returns a new ToInt64 instance with a down to d millis
func (t Millis) RoundDown(d int64) Millis {
//round down to the nearest d
return Millis(int64(int64(t)/d) * d)
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