From 78d089b5b76776f297d4cb351ffee031adebf891 Mon Sep 17 00:00:00 2001 From: Mio Date: Tue, 31 Jan 2023 16:28:32 +0800 Subject: [PATCH] ethclient/gethclient: fix typo (#26580) fix grammar typo --- ethclient/gethclient/gethclient_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethclient/gethclient/gethclient_test.go b/ethclient/gethclient/gethclient_test.go index ef84d71559..a9637d182f 100644 --- a/ethclient/gethclient/gethclient_test.go +++ b/ethclient/gethclient/gethclient_test.go @@ -299,7 +299,7 @@ func testSubscribePendingTransactions(t *testing.T, client *rpc.Client) { if err != nil { t.Fatal(err) } - // Check that the transaction was send over the channel + // Check that the transaction was sent over the channel hash := <-ch if hash != signedTx.Hash() { t.Fatalf("Invalid tx hash received, got %v, want %v", hash, signedTx.Hash()) @@ -333,7 +333,7 @@ func testSubscribeFullPendingTransactions(t *testing.T, client *rpc.Client) { if err != nil { t.Fatal(err) } - // Check that the transaction was send over the channel + // Check that the transaction was sent over the channel tx = <-ch if tx.Hash() != signedTx.Hash() { t.Fatalf("Invalid tx hash received, got %v, want %v", tx.Hash(), signedTx.Hash())