good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 68651a23 authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

cmd/faucet: fix removal of Twitter zlib compression

parent 5258785c
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ package main
import (
"bytes"
"compress/zlib"
"context"
"encoding/json"
"errors"
......@@ -698,11 +697,7 @@ func authTwitter(url string) (string, string, common.Address, error) {
}
defer res.Body.Close()
reader, err := zlib.NewReader(res.Body)
if err != nil {
return "", "", common.Address{}, err
}
body, err := ioutil.ReadAll(reader)
body, err := ioutil.ReadAll(res.Body)
if err != nil {
return "", "", common.Address{}, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment