From 744d1eda8f13ed5ccf92dab48f3041baa7d2cd65 Mon Sep 17 00:00:00 2001 From: Mio Date: Tue, 31 Jan 2023 13:39:04 +0800 Subject: [PATCH] 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 ef84d71559c8c..a9637d182f1f9 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())