From 596b253e9c0cbc2a36f876d4644d683df67d9f46 Mon Sep 17 00:00:00 2001 From: Priyadarshan Vyas Date: Tue, 28 May 2019 23:12:37 -0400 Subject: [PATCH] Fixing the Simulated and Adding a new Fn TransactionByHashWithBlockNum --- accounts/abi/bind/backends/simulated.go | 2 +- ethclient/ethclient.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 58db00b937..0ad7c0a62d 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -24,6 +24,7 @@ import ( "sync" "time" + "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" @@ -39,7 +40,6 @@ import ( "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/rpc" - "github.com/paxosglobal/go-ethereum" ) // This nil assignment ensures compile time that SimulatedBackend implements bind.ContractBackend. diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index 5e7c25fbda..c57c6a5c8f 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -24,12 +24,12 @@ import ( "fmt" "math/big" + "github.com/ethereum/go-ethereum" "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/rlp" "github.com/ethereum/go-ethereum/rpc" - "github.com/paxosglobal/go-ethereum" ) // Client defines typed wrappers for the Ethereum RPC API.