aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 23:56:44 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 23:56:44 +0800
commit90f34ed40a1b3c87073d7e2e13b5515cc4cb3940 (patch)
tree6e4bde8570711504da9443be8c9662effe198679 /rpc/args.go
parent9e89c803f124e98530067c409a67c03d7ab99ef3 (diff)
downloadgo-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.gz
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.bz2
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.lz
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.xz
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.tar.zst
go-tangerine-90f34ed40a1b3c87073d7e2e13b5515cc4cb3940.zip
Rename Topic to Topics
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/args.go b/rpc/args.go
index 26a61b1a1..d4d807060 100644
--- a/rpc/args.go
+++ b/rpc/args.go
@@ -367,7 +367,7 @@ type WhisperMessageArgs struct {
Payload string
To string
From string
- Topic []string
+ Topics []string
Priority uint32
Ttl uint32
}
@@ -377,7 +377,7 @@ func (args *WhisperMessageArgs) UnmarshalJSON(b []byte) (err error) {
Payload string
To string
From string
- Topic []string
+ Topics []string
Priority string
Ttl string
}
@@ -392,7 +392,7 @@ func (args *WhisperMessageArgs) UnmarshalJSON(b []byte) (err error) {
args.Payload = obj[0].Payload
args.To = obj[0].To
args.From = obj[0].From
- args.Topic = obj[0].Topic
+ args.Topics = obj[0].Topics
args.Priority = uint32(ethutil.Big(obj[0].Priority).Int64())
args.Ttl = uint32(ethutil.Big(obj[0].Ttl).Int64())