From 77703045765343c489ded2f43e3ed0f332c5f148 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Thu, 27 Oct 2016 23:10:24 +0200 Subject: [PATCH] ethclient: changed TransactionByHash to only pass one argument to api method (#3209) Fixes #3203 --- ethclient/ethclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethclient/ethclient.go b/ethclient/ethclient.go index aa7796f32..6e2b1378a 100644 --- a/ethclient/ethclient.go +++ b/ethclient/ethclient.go @@ -145,7 +145,7 @@ func (ec *Client) HeaderByNumber(ctx context.Context, number *big.Int) (*types.H // TransactionByHash returns the transaction with the given hash. func (ec *Client) TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, error) { var tx *types.Transaction - err := ec.c.CallContext(ctx, &tx, "eth_getTransactionByHash", hash, false) + err := ec.c.CallContext(ctx, &tx, "eth_getTransactionByHash", hash) if err == nil { if _, r, _ := tx.SignatureValues(); r == nil { return nil, fmt.Errorf("server returned transaction without signature")