cmd/devp2p/internal/ethtest: fix typos in comments (#28772)

This commit is contained in:
vuittont60 2024-01-09 03:31:22 +08:00 committed by GitHub
parent e7fa158086
commit f29520ffdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -790,7 +790,7 @@ func (s *Suite) TestBlobViolations(t *utesting.T) {
if err := s.engine.sendForkchoiceUpdated(); err != nil { if err := s.engine.sendForkchoiceUpdated(); err != nil {
t.Fatalf("send fcu failed: %v", err) t.Fatalf("send fcu failed: %v", err)
} }
// Create blob txs for each tests with unqiue tx hashes. // Create blob txs for each tests with unique tx hashes.
var ( var (
t1 = s.makeBlobTxs(2, 3, 0x1) t1 = s.makeBlobTxs(2, 3, 0x1)
t2 = s.makeBlobTxs(2, 3, 0x2) t2 = s.makeBlobTxs(2, 3, 0x2)

@ -128,7 +128,7 @@ func (s *Suite) sendInvalidTxs(txs []*types.Transaction) error {
invalids[tx.Hash()] = struct{}{} invalids[tx.Hash()] = struct{}{}
} }
// Get repsonses. // Get responses.
recvConn.SetReadDeadline(time.Now().Add(timeout)) recvConn.SetReadDeadline(time.Now().Add(timeout))
for { for {
msg, err := recvConn.ReadEth() msg, err := recvConn.ReadEth()