From b9b3efb09f9281a5859646d2dcf36b5813132efb Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 9 Jan 2017 11:16:06 +0100 Subject: all: fix ineffectual assignments and remove uses of crypto.Sha3 go get github.com/gordonklaus/ineffassign ineffassign . --- rpc/subscription_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc') diff --git a/rpc/subscription_test.go b/rpc/subscription_test.go index 97f2c0d65..00c4e0e35 100644 --- a/rpc/subscription_test.go +++ b/rpc/subscription_test.go @@ -141,7 +141,7 @@ func TestNotifications(t *testing.T) { } var ok bool - if subid, ok = response.Result.(string); !ok { + if _, ok = response.Result.(string); !ok { t.Fatalf("expected subscription id, got %T", response.Result) } -- cgit