Skip to content

Commit

Permalink
change: remove unused maticRPCClient object
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsayli committed May 8, 2020
1 parent 9715291 commit d76baf7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helper/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ type ContractCaller struct {
MainChainClient *ethclient.Client
MainChainRPC *rpc.Client
MaticChainClient *ethclient.Client
MaticRPCClient *rpc.Client

RootChainABI abi.ABI
StakingInfoABI abi.ABI
Expand Down Expand Up @@ -108,7 +107,6 @@ func NewContractCaller() (contractCallerObj ContractCaller, err error) {
contractCallerObj.MainChainClient = GetMainClient()
contractCallerObj.MaticChainClient = GetMaticClient()
contractCallerObj.MainChainRPC = GetMainChainRPCClient()
contractCallerObj.MaticRPCClient = GetMaticRPCClient()
contractCallerObj.ReceiptCache, _ = NewLru(1000)
contractCallerObj.BlockTimeCache, _ = NewLru(1000)

Expand Down

0 comments on commit d76baf7

Please sign in to comment.