diff --git a/backtester/engine/grpcserver.go b/backtester/engine/grpcserver.go index 1ef1b8b3e21..279358e2c5f 100644 --- a/backtester/engine/grpcserver.go +++ b/backtester/engine/grpcserver.go @@ -106,7 +106,7 @@ func (s *GRPCServer) StartRPCRESTProxy() error { targetDir := utils.GetTLSDir(s.config.GRPC.TLSDir) creds, err := credentials.NewClientTLSFromFile(filepath.Join(targetDir, "cert.pem"), "") if err != nil { - return fmt.Errorf("unabled to start gRPC proxy. Err: %w", err) + return fmt.Errorf("unable to start gRPC proxy. Err: %w", err) } mux := runtime.NewServeMux() diff --git a/cmd/gctcli/commands.go b/cmd/gctcli/commands.go index 53794b34a19..7057964d969 100644 --- a/cmd/gctcli/commands.go +++ b/cmd/gctcli/commands.go @@ -4035,13 +4035,13 @@ var getHistoricCandlesExtendedCommand = &cli.Command{ }, &cli.StringFlag{ Name: "start", - Usage: "the date to begin retrieveing candles. Any candles before this date will be filtered", + Usage: "the date to begin retrieving candles. Any candles before this date will be filtered", Value: time.Now().AddDate(0, -1, 0).Format(time.DateTime), Destination: &startTime, }, &cli.StringFlag{ Name: "end", - Usage: "the date to end retrieveing candles. Any candles after this date will be filtered", + Usage: "the date to end retrieving candles. Any candles after this date will be filtered", Value: time.Now().Format(time.DateTime), Destination: &endTime, }, diff --git a/contrib/spellcheck/ignore_words.txt b/contrib/spellcheck/ignore_words.txt index f1d252d62d8..918efc35e71 100644 --- a/contrib/spellcheck/ignore_words.txt +++ b/contrib/spellcheck/ignore_words.txt @@ -5,3 +5,4 @@ flate freez zar insid +totalin diff --git a/currency/code.go b/currency/code.go index b0a76310d23..b14cb99cc8a 100644 --- a/currency/code.go +++ b/currency/code.go @@ -293,7 +293,7 @@ func (c Code) Upper() Code { return c } -// UnmarshalJSON comforms type to the umarshaler interface +// UnmarshalJSON conforms type to the umarshaler interface func (c *Code) UnmarshalJSON(d []byte) error { var newcode string err := json.Unmarshal(d, &newcode) diff --git a/currency/currencies.go b/currency/currencies.go index 7bf0d315a60..c5aa93ff538 100644 --- a/currency/currencies.go +++ b/currency/currencies.go @@ -52,7 +52,7 @@ func (c Currencies) Join() string { return strings.Join(c.Strings(), ",") } -// UnmarshalJSON comforms type to the umarshaler interface +// UnmarshalJSON conforms type to the umarshaler interface func (c *Currencies) UnmarshalJSON(d []byte) error { var configCurrencies string err := json.Unmarshal(d, &configCurrencies) diff --git a/currency/pairs.go b/currency/pairs.go index e680c5a6db1..12c2d9b6c57 100644 --- a/currency/pairs.go +++ b/currency/pairs.go @@ -67,7 +67,7 @@ func (p Pairs) Format(pairFmt PairFormat) Pairs { return pairs } -// UnmarshalJSON comforms type to the umarshaler interface +// UnmarshalJSON conforms type to the umarshaler interface func (p *Pairs) UnmarshalJSON(d []byte) error { var pairs string err := json.Unmarshal(d, &pairs) diff --git a/exchanges/asset/asset.go b/exchanges/asset/asset.go index 9a2cb8d07b4..ef8a749a522 100644 --- a/exchanges/asset/asset.go +++ b/exchanges/asset/asset.go @@ -150,7 +150,7 @@ func (a Item) IsValid() bool { return a != Empty && supportedFlag&a == a } -// UnmarshalJSON comforms type to the umarshaler interface +// UnmarshalJSON conforms type to the umarshaler interface func (a *Item) UnmarshalJSON(d []byte) error { var assetString string err := json.Unmarshal(d, &assetString) @@ -171,7 +171,7 @@ func (a *Item) UnmarshalJSON(d []byte) error { return nil } -// MarshalJSON comforms type to the marshaller interface +// MarshalJSON conforms type to the marshaller interface func (a Item) MarshalJSON() ([]byte, error) { return json.Marshal(a.String()) }