diff --git a/whisper/whisperv5/api.go b/whisper/whisperv5/api.go index 606d24c46f..4d33d23214 100644 --- a/whisper/whisperv5/api.go +++ b/whisper/whisperv5/api.go @@ -373,8 +373,8 @@ type PostArgs struct { Payload hexutil.Bytes `json:"payload"` WorkTime uint32 `json:"worktime"` PoW float64 `json:"pow"` - FilterID string `json:"filterid"` - PeerID hexutil.Bytes `json:"peerid"` + FilterID string `json:"filterID"` + PeerID hexutil.Bytes `json:"peerID"` } type WhisperFilterArgs struct {