mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-31 17:31:30 +00:00
Fix typo in comment.
This commit is contained in:
parent
5d40d51672
commit
b0ca6d5903
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ func jsonRpcSend(user string, password string, server string, message []byte) (*
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetRaw should be called after JsonRpcSend. It reads and returns
|
// GetRaw should be called after JsonRpcSend. It reads and returns
|
||||||
// the reply (which you can then call readResult() on) and closes the
|
// the reply (which you can then call ReadResultCmd() on) and closes the
|
||||||
// connection.
|
// connection.
|
||||||
func GetRaw(resp io.ReadCloser) ([]byte, error) {
|
func GetRaw(resp io.ReadCloser) ([]byte, error) {
|
||||||
body, err := ioutil.ReadAll(resp)
|
body, err := ioutil.ReadAll(resp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue