From c57e8091b899595fcfaffeaa8ec410471c5aefa8 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Tue, 10 Jan 2023 12:19:38 -0600 Subject: [PATCH] Merge error --- pkg/eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/eth/api.go b/pkg/eth/api.go index bc5a8091..551b0452 100644 --- a/pkg/eth/api.go +++ b/pkg/eth/api.go @@ -71,7 +71,7 @@ type PublicEthAPI struct { } // NewPublicEthAPI creates a new PublicEthAPI with the provided underlying Backend -func NewPublicEthAPI(b *Backend, client *rpc.Client, supportsStateDiff, forwardEthCalls, forwardGetStorageAt, proxyOnError bool) (*P +func NewPublicEthAPI(b *Backend, client *rpc.Client, supportsStateDiff, forwardEthCalls, forwardGetStorageAt, proxyOnError bool) (*PublicEthAPI, error) { if b == nil { return nil, errors.New("ipld-eth-server must be configured with an ethereum backend") }