diff --git a/e2e/solve/devapp/deposit.go b/e2e/solve/devapp/deposit.go index 501d34ec1..76ea39ccc 100644 --- a/e2e/solve/devapp/deposit.go +++ b/e2e/solve/devapp/deposit.go @@ -37,8 +37,6 @@ func RequestDeposits(ctx context.Context, endpoints xchain.RPCEndpoints, backend return nil, err } - backend = backend.Clone() - const numDeposits = 10 depositors, err := makeDepositors(numDeposits, backend) diff --git a/lib/ethclient/ethbackend/backend.go b/lib/ethclient/ethbackend/backend.go index 743e0d521..2b52416ea 100644 --- a/lib/ethclient/ethbackend/backend.go +++ b/lib/ethclient/ethbackend/backend.go @@ -123,16 +123,6 @@ func (b *Backend) AddAccount(privkey *ecdsa.PrivateKey) (common.Address, error) return addr, nil } -func (b *Backend) Clone() *Backend { - clone := *b - clone.accounts = make(map[common.Address]account) - for addr, acc := range b.accounts { - clone.accounts[addr] = acc - } - - return &clone -} - func (b *Backend) Chain() (string, uint64) { return b.chainName, b.chainID }