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: fix some comments #101

Open
wants to merge 1 commit into
base: main
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 cmd/utils/custom_set_value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func customSetterTester[T any](t *testing.T, tc customSetterTestCase[T], co conf
}
}

// clearTestEnvironment removes all envs from the test environment. It's useful
// ClearTestEnvironment removes all envs from the test environment. It's useful
// to make tests independent from the localhost environment variables.
func ClearTestEnvironment(t *testing.T) {
t.Helper()
Expand Down
2 changes: 1 addition & 1 deletion cmd/utils/tss_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func WebhookHandlerChannelMaxRetriesOption(configKey *int) *config.ConfigOption
func WebhookHandlerChannelMinWaitBtwnRetriesMSOption(configKey *int) *config.ConfigOption {
return &config.ConfigOption{
Name: "webhook-channel-min-wait-between-retries",
Usage: "The minumum amout of time to wait before resending the payload to the webhook url",
Usage: "The minimum amount of time to wait before resending the payload to the webhook url",
OptType: types.Int,
ConfigKey: configKey,
FlagDefault: 10,
Expand Down
4 changes: 2 additions & 2 deletions internal/tss/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type RPCGetIngestTxResponse struct {
// A status that indicated whether this transaction failed or successly made it to the ledger
Status entities.RPCStatus
// The error code that is derived by deserialzing the ResultXdr string in the sendTransaction response
// list of possible errror codes: https://developers.stellar.org/docs/data/horizon/api-reference/errors/result-codes/transactions
// list of possible error codes: https://developers.stellar.org/docs/data/horizon/api-reference/errors/result-codes/transactions
Code RPCTXCode
// The raw TransactionEnvelope XDR for this transaction
EnvelopeXDR string
Expand Down Expand Up @@ -130,7 +130,7 @@ type RPCSendTxResponse struct {
// The status of an RPC sendTransaction call. Can be one of [PENDING, DUPLICATE, TRY_AGAIN_LATER, ERROR]
Status RPCTXStatus
// The (optional) error code that is derived by deserialzing the errorResultXdr string in the sendTransaction response
// list of possible errror codes: https://developers.stellar.org/docs/data/horizon/api-reference/errors/result-codes/transactions
// list of possible error codes: https://developers.stellar.org/docs/data/horizon/api-reference/errors/result-codes/transactions
Code RPCTXCode
ErrorResultXDR string
}
Expand Down