Add `Content-Type` to the whisper tests as required in geth 1.7.3. (#553)
This commit is contained in:
parent
f93cd81d83
commit
bffd2fda08
|
@ -49,6 +49,7 @@ func (s *MailServiceSuite) TestShhRequestMessagesRPCMethodAvailability() {
|
|||
"method": "shh_requestMessages",
|
||||
"params": [{}]
|
||||
}`)))
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
r.NoError(err)
|
||||
resp, err := http.DefaultClient.Do(req)
|
||||
r.NoError(err)
|
||||
|
|
Loading…
Reference in New Issue