From d9639a52c016bc04ad3ee45e8ea5973d60e8b12e Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 13 Jan 2025 21:35:38 +0800 Subject: [PATCH] fix comment --- ethclient/simulated/rollback_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ethclient/simulated/rollback_test.go b/ethclient/simulated/rollback_test.go index 391caf0ca3..8fc9f5bc86 100644 --- a/ethclient/simulated/rollback_test.go +++ b/ethclient/simulated/rollback_test.go @@ -70,8 +70,7 @@ func testSendSignedTx(t *testing.T, key *ecdsa.PrivateKey, sim *Backend, isBlobT return signedTx } -// assertSuccessfulReceipt verifies that a transaction was successfully included as of the pending state -// by checking its receipt status. +// pendingStateHasTx returns true if a given transaction was successfully included as of the latest pending state. func pendingStateHasTx(client Client, tx *types.Transaction) bool { ctx := context.Background()