aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-12 00:00:30 +0800
committerobscuren <geffobscura@gmail.com>2015-03-12 00:00:30 +0800
commit2da7af4ba0913acc74c554422a04958f3f8d78b9 (patch)
tree6e0528ee381ef9367984f2e190d1dbfbeb8e9f53 /rpc/args_test.go
parente8d1b622d9381a2717f1a09f29078e07c23b01bd (diff)
parent90f34ed40a1b3c87073d7e2e13b5515cc4cb3940 (diff)
downloadgo-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar.gz
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar.bz2
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar.lz
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar.xz
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.tar.zst
go-tangerine-2da7af4ba0913acc74c554422a04958f3f8d78b9.zip
Merge branch 'rpcfrontier' of github.com-obscure:ethereum/go-ethereum into rpcfrontier
Diffstat (limited to 'rpc/args_test.go')
-rw-r--r--rpc/args_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/args_test.go b/rpc/args_test.go
index ec5400f3f..027624500 100644
--- a/rpc/args_test.go
+++ b/rpc/args_test.go
@@ -270,7 +270,7 @@ func TestFilterOptions(t *testing.T) {
t.Errorf("Address shoud be %#v but is %#v", expected.Address, args.Address)
}
- // if expected.Topic != args.Topic {
+ // if expected.Topics != args.Topics {
// t.Errorf("Topic shoud be %#v but is %#v", expected.Topic, args.Topic)
// }
}
@@ -316,7 +316,7 @@ func TestWhisperMessageArgs(t *testing.T) {
expected.Payload = "0x68656c6c6f20776f726c64"
expected.Priority = 100
expected.Ttl = 100
- expected.Topic = []string{"0x68656c6c6f20776f726c64"}
+ expected.Topics = []string{"0x68656c6c6f20776f726c64"}
args := new(WhisperMessageArgs)
if err := json.Unmarshal([]byte(input), &args); err != nil {
@@ -343,7 +343,7 @@ func TestWhisperMessageArgs(t *testing.T) {
t.Errorf("Priority shoud be %#v but is %#v", expected.Priority, args.Priority)
}
- // if expected.Topic != args.Topic {
+ // if expected.Topics != args.Topics {
// t.Errorf("Topic shoud be %#v but is %#v", expected.Topic, args.Topic)
// }
}