review: fix typos

This commit is contained in:
Olaoluwa Osuntokun 2016-11-09 11:13:10 -08:00
parent 01050a2f82
commit c6e1d711da

View file

@ -250,7 +250,7 @@ func (c *Client) GetDifficulty() (float64, error) {
return c.GetDifficultyAsync().Receive() return c.GetDifficultyAsync().Receive()
} }
// FutureGetBlockChainInfoResult is a promised to deliver the result of a // FutureGetBlockChainInfoResult is a promise to deliver the result of a
// GetBlockChainInfoAsync RPC invocation (or an applicable error). // GetBlockChainInfoAsync RPC invocation (or an applicable error).
type FutureGetBlockChainInfoResult chan *response type FutureGetBlockChainInfoResult chan *response
@ -279,9 +279,9 @@ func (c *Client) GetBlockChainInfoAsync() FutureGetBlockChainInfoResult {
return c.sendCmd(cmd) return c.sendCmd(cmd)
} }
// GetBlockChainInfo returns information related to the processing staate of // GetBlockChainInfo returns information related to the processing state of
// various chain-specific details such as the current difficulty from the tip // various chain-specific details such as the current difficulty from the tip
// of the main-chain. // of the main chain.
func (c *Client) GetBlockChainInfo() (*btcjson.GetBlockChainInfoResult, error) { func (c *Client) GetBlockChainInfo() (*btcjson.GetBlockChainInfoResult, error) {
return c.GetBlockChainInfoAsync().Receive() return c.GetBlockChainInfoAsync().Receive()
} }