Fixing the Simulated and Adding a new Fn TransactionByHashWithBlockNum

This commit is contained in:
Priyadarshan Vyas 2019-05-28 23:12:37 -04:00
parent 72a8d021d5
commit 596b253e9c
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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.