From b2a6b11e57c40a51d4d4209eeac8fb1a06cd7df6 Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Mon, 11 Sep 2023 14:43:44 -0300 Subject: [PATCH] Double * not needed in NewServer call --- mocks/contractserver/contracts/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocks/contractserver/contracts/main.go b/mocks/contractserver/contracts/main.go index bfaca9d4d..1a13eedf8 100644 --- a/mocks/contractserver/contracts/main.go +++ b/mocks/contractserver/contracts/main.go @@ -10,7 +10,7 @@ import ( func serverFactory(settings restserver.Settings) restserver.Server { //nolint:forcetypeassert // Let the type coersion panic on failure. - return contractsmockserver.NewServer(*settings.(*contractsmockserver.Settings)) + return contractsmockserver.NewServer(settings.(contractsmockserver.Settings)) } func main() {