Skip to content

broken compilation after downgrade go-ethereum to v1.11.5 #13

@glempi

Description

@glempi

ethrpc/client.go have code

func createClient(ec *ethclient.Client) *Client {
	c := &Client{
		ethClient:  ec,
		gethClient: gethclient.New(ec.Client()),
	}

as u can see in this code there is calling of method 'Client()' of struct ethclient.Client
but method 'Client' was introduced only in go-ethereum to v1.12
so after downgrade go-ethereum to v1.11.5 compilation of this module was broken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions