From e026f53ab5e3746900367a0573fc458d27d1b126 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 22 Feb 2017 15:23:18 +0100 Subject: [PATCH] whisper: JSON field names fixed --- whisper/whisperv5/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {