diff --git a/private/constellation/node.go b/private/constellation/node.go index 7bdabbbca5..9a97ae26bf 100644 --- a/private/constellation/node.go +++ b/private/constellation/node.go @@ -96,7 +96,7 @@ func (c *Client) SendPayload(pl []byte, b64From string, b64To []string) ([]byte, return nil, fmt.Errorf("Non-200 status code: %+v", res) } defer res.Body.Close() - return ioutil.ReadAll(res.Body) + return ioutil.ReadAll(base64.NewDecoder(base64.StdEncoding, res.Body)) } func (c *Client) ReceivePayload(key []byte) ([]byte, error) {