Merge error
This commit is contained in:
parent
71cbb71e13
commit
c57e8091b8
@ -71,7 +71,7 @@ type PublicEthAPI struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewPublicEthAPI creates a new PublicEthAPI with the provided underlying Backend
|
// 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 {
|
if b == nil {
|
||||||
return nil, errors.New("ipld-eth-server must be configured with an ethereum backend")
|
return nil, errors.New("ipld-eth-server must be configured with an ethereum backend")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user