minor syntax fixes

This commit is contained in:
kargakis 2014-06-02 17:31:02 +03:00
parent 67e94bcaaa
commit a785ef6424
3 changed files with 3 additions and 3 deletions

2
doc.go
View file

@ -141,7 +141,7 @@ the type can vary, but usually will be best handled by simply showing/logging
it.
The third category of errors, that is errors returned by the server, can be
detected by type asserting the error is a *btcjson.Error. For example, to
detected by type asserting the error in a *btcjson.Error. For example, to
detect if a command is unimplemented by the remote RPC server:
amount, err := client.GetBalance("")

View file

@ -1016,7 +1016,7 @@ func dial(config *ConnConfig) (*websocket.Conn, error) {
return wsConn, nil
}
// New create a new RPC client based on the provided connection configuration
// New creates a new RPC client based on the provided connection configuration
// details. The notification handlers parameter may be nil if you are not
// interested in receiving notifications and will be ignored when if the
// configuration is set to run in HTTP POST mode.

View file

@ -600,7 +600,7 @@ func (c *Client) SendFromCommentAsync(fromAccount string,
return c.sendCmd(cmd)
}
// SendFromMinConf sends the passed amount to the given address using the
// SendFromComment sends the passed amount to the given address using the
// provided account as a source of funds and stores the provided comment and
// comment to in the wallet. The comment parameter is intended to be used for
// the purpose of the transaction while the commentTo parameter is indended to