diff options
author | Felix Lange <fjl@twurst.com> | 2016-12-06 03:08:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 03:08:18 +0800 |
commit | 7f79d249a64ee72b185ffa9a9ed78f137b7938de (patch) | |
tree | ccbc93cb799096fc3abc09b5ed1c628c02d62d6a /mobile | |
parent | 2dcf75a722f193ef5528f5af8fb4fd7c5824fded (diff) | |
parent | f1383740274a46a9a02f77f5d279f46daa122fae (diff) | |
download | go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar.gz go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar.bz2 go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar.lz go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar.xz go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.tar.zst go-tangerine-7f79d249a64ee72b185ffa9a9ed78f137b7938de.zip |
Merge pull request #3402 from fjl/ethclient-api-fixes
eth/filters, ethclient, ethereum: API improvements
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/ethclient.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile/ethclient.go b/mobile/ethclient.go index 668d65e32..a60fc2fa5 100644 --- a/mobile/ethclient.go +++ b/mobile/ethclient.go @@ -73,7 +73,8 @@ func (ec *EthereumClient) GetHeaderByNumber(ctx *Context, number int64) (*Header // GetTransactionByHash returns the transaction with the given hash. func (ec *EthereumClient) GetTransactionByHash(ctx *Context, hash *Hash) (*Transaction, error) { - tx, err := ec.client.TransactionByHash(ctx.context, hash.hash) + // TODO(karalabe): handle isPending + tx, _, err := ec.client.TransactionByHash(ctx.context, hash.hash) return &Transaction{tx}, err } |