From 7448f9555c2f06bce1794e750d18d36bd30390ee Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 12 Jun 2014 23:00:03 -0500 Subject: [PATCH] Make golint happier. --- infrastructure.go | 6 +++--- rawtransactions.go | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/infrastructure.go b/infrastructure.go index 8075e864..b3bf7bdf 100644 --- a/infrastructure.go +++ b/infrastructure.go @@ -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 } diff --git a/rawtransactions.go b/rawtransactions.go index 913e8b06..8a8b0ca7 100644 --- a/rawtransactions.go +++ b/rawtransactions.go @@ -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" )