diff --git a/pkg/rpc/server/client_test.go b/pkg/rpc/server/client_test.go index 2b9b2210c..4bff819b0 100644 --- a/pkg/rpc/server/client_test.go +++ b/pkg/rpc/server/client_test.go @@ -880,7 +880,7 @@ func TestClient_NNS(t *testing.T) { rss, err := c.NNSGetAllRecords(nsHash, "neo.com") require.NoError(t, err) require.Equal(t, []nns.RecordState{ - nns.RecordState{ + { Name: "neo.com", Type: nns.A, Data: "1.2.3.4",