Make golint happier.

This commit is contained in:
Dave Collins 2014-06-12 23:00:03 -05:00
parent 67d570e660
commit 7448f9555c
2 changed files with 7 additions and 7 deletions

View File

@ -943,9 +943,9 @@ type ConnConfig struct {
HttpPostMode bool
}
// newHttpClient returns a new http client that is configured according to the
// newHTTPClient returns a new http client that is configured according to the
// proxy and TLS settings in the associated connection configuration.
func newHttpClient(config *ConnConfig) (*http.Client, error) {
func newHTTPClient(config *ConnConfig) (*http.Client, error) {
// Set proxy function if there is a proxy configured.
var proxyFunc func(*http.Request) (*url.URL, error)
if config.Proxy != "" {
@ -1051,7 +1051,7 @@ func New(config *ConnConfig, ntfnHandlers *NotificationHandlers) (*Client, error
ntfnHandlers = nil
var err error
httpClient, err = newHttpClient(config)
httpClient, err = newHTTPClient(config)
if err != nil {
return nil, err
}

View File

@ -44,10 +44,10 @@ const (
// for outputs.
SigHashNoneAnyoneCanPay SigHashType = "NONE|ANYONECANPAY"
// SigHashAllAnyoneCanPay indicates that signer does not care where the
// other inputs to the transaction come from, so it allows other people
// to add inputs. In addition, it uses the SigHashSingle signing method
// for outputs.
// SigHashSingleAnyoneCanPay indicates that signer does not care where
// the other inputs to the transaction come from, so it allows other
// people to add inputs. In addition, it uses the SigHashSingle signing
// method for outputs.
SigHashSingleAnyoneCanPay SigHashType = "SINGLE|ANYONECANPAY"
)