diff --git a/extensions.go b/extensions.go index 15fc29a1..d13a136a 100644 --- a/extensions.go +++ b/extensions.go @@ -51,7 +51,7 @@ func (c *Client) DebugLevelAsync(levelSpec string) FutureDebugLevelResult { // DebugLevel dynamically sets the debug logging level to the passed level // specification. // -// The levelspec can either a debug level or of the form: +// The levelspec can be either a debug level or of the form: // =,=,... // // Additionally, the special keyword 'show' can be used to get a list of the @@ -154,14 +154,14 @@ func (r FutureGetBestBlockResult) Receive() (*wire.ShaHash, int32, error) { return nil, 0, err } - // Unmarsal result as a getbestblock result object. + // Unmarshal result as a getbestblock result object. var bestBlock btcjson.GetBestBlockResult err = json.Unmarshal(res, &bestBlock) if err != nil { return nil, 0, err } - // Convert hash string. + // Convert to hash from string. hash, err := wire.NewShaHashFromStr(bestBlock.Hash) if err != nil { return nil, 0, err @@ -312,7 +312,7 @@ func (r FutureSessionResult) Receive() (*btcjson.SessionResult, error) { return nil, err } - // Unmarsal result as a session result object. + // Unmarshal result as a session result object. var session btcjson.SessionResult err = json.Unmarshal(res, &session) if err != nil {