aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/ethclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/ethclient.go')
-rw-r--r--mobile/ethclient.go3
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
}