Skip to content
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