From e5999f31a55d1f7162171b9c4b063cbc48e4c57d Mon Sep 17 00:00:00 2001
From: crystalstall <crystalruby@qq.com>
Date: Mon, 6 Jan 2025 15:40:49 +0800
Subject: [PATCH] chore: fix some comments

Signed-off-by: crystalstall <crystalruby@qq.com>
---
 cmd/utils/custom_set_value_test.go | 2 +-
 cmd/utils/tss_options.go           | 2 +-
 internal/tss/types.go              | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmd/utils/custom_set_value_test.go b/cmd/utils/custom_set_value_test.go
index 0e993a4..95aca13 100644
--- a/cmd/utils/custom_set_value_test.go
+++ b/cmd/utils/custom_set_value_test.go
@@ -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()
diff --git a/cmd/utils/tss_options.go b/cmd/utils/tss_options.go
index 4e23991..a7fcce3 100644
--- a/cmd/utils/tss_options.go
+++ b/cmd/utils/tss_options.go
@@ -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,
diff --git a/internal/tss/types.go b/internal/tss/types.go
index d7de9c5..bf43323 100644
--- a/internal/tss/types.go
+++ b/internal/tss/types.go
@@ -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
@@ -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
 }