Add `Content-Type` to the whisper tests as required in geth 1.7.3. (#553)

This commit is contained in:
Igor Mandrigin 2018-01-17 17:12:40 +01:00 committed by Ivan Daniluk
parent f93cd81d83
commit bffd2fda08
1 changed files with 1 additions and 0 deletions

View File

@ -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)