From 59473afc40c9820d93a67162069bb32ee0d0c13b Mon Sep 17 00:00:00 2001 From: nkbai Date: Wed, 20 Sep 2017 14:55:12 +0800 Subject: [PATCH] eth: remove ContractBackend's PublicFilterAPI to resolve interface confliction --- eth/bind.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/eth/bind.go b/eth/bind.go index a88bf8505d..8b7e12ddaa 100644 --- a/eth/bind.go +++ b/eth/bind.go @@ -25,7 +25,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/eth/filters" "github.com/ethereum/go-ethereum/internal/ethapi" "github.com/ethereum/go-ethereum/rlp" "github.com/ethereum/go-ethereum/rpc" @@ -42,7 +41,6 @@ type ContractBackend struct { eapi *ethapi.PublicEthereumAPI // Wrapper around the Ethereum object to access metadata bcapi *ethapi.PublicBlockChainAPI // Wrapper around the blockchain to access chain data txapi *ethapi.PublicTransactionPoolAPI // Wrapper around the transaction pool to access transaction data - fapi *filters.PublicFilterAPI //wrapper around the filter to filter logs } // NewContractBackend creates a new native contract backend using an existing