From 33959f60d195cd45dc76e133d2c3b71d4a44d8c8 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Tue, 19 Jul 2022 01:21:46 -0400 Subject: [PATCH] go-ethereum update for 1.10.20 requires node.RegisterApis change --- pkg/rpc/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/http.go b/pkg/rpc/http.go index b7a1429..93fbd64 100644 --- a/pkg/rpc/http.go +++ b/pkg/rpc/http.go @@ -29,7 +29,7 @@ import ( func StartHTTPEndpoint(endpoint string, apis []rpc.API, modules []string, cors []string, vhosts []string, timeouts rpc.HTTPTimeouts) (*rpc.Server, error) { srv := rpc.NewServer() - err := node.RegisterApis(apis, modules, srv, false) + err := node.RegisterApis(apis, modules, srv) if err != nil { utils.Fatalf("Could not register HTTP API: %w", err) }