mirror of
https://github.com/tendermint/tendermint.git
synced 2026-10-01 12:15:45 +00:00
fix go 1.15 errors (#5277)
## Description fix golang 1.15 errors. Closes: #XXX
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ func getServiceURL(rootURL string) (url, urnDomain string, err error) {
|
||||
defer r.Body.Close()
|
||||
|
||||
if r.StatusCode >= 400 {
|
||||
err = errors.New(string(r.StatusCode))
|
||||
err = errors.New(string(rune(r.StatusCode)))
|
||||
return
|
||||
}
|
||||
var root Root
|
||||
|
||||
Reference in New Issue
Block a user