Skip to content

Commit 11c0987

Browse files
fjlholiman
authored andcommitted
Update ethclient_test.go
1 parent cf7c760 commit 11c0987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethclient/ethclient_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func testTransactionInBlock(t *testing.T, client *rpc.Client) {
396396
}
397397

398398
// Test tx in block found.
399-
tx, err = ec.TransactionInBlock(context.Background(), block.Hash(), 0)
399+
tx, err := ec.TransactionInBlock(context.Background(), block.Hash(), 0)
400400
if err != nil {
401401
t.Fatalf("unexpected error: %v", err)
402402
}

0 commit comments

Comments
 (0)