fix comment

This commit is contained in:
Jared Wasinger 2025-01-13 21:35:38 +08:00
parent 1103cb388b
commit d9639a52c0

View file

@ -70,8 +70,7 @@ func testSendSignedTx(t *testing.T, key *ecdsa.PrivateKey, sim *Backend, isBlobT
return signedTx return signedTx
} }
// assertSuccessfulReceipt verifies that a transaction was successfully included as of the pending state // pendingStateHasTx returns true if a given transaction was successfully included as of the latest pending state.
// by checking its receipt status.
func pendingStateHasTx(client Client, tx *types.Transaction) bool { func pendingStateHasTx(client Client, tx *types.Transaction) bool {
ctx := context.Background() ctx := context.Background()