@@ -710,7 +710,7 @@ func (s *Suite) TestNewPooledTxs(t *utesting.T) {
710710 }
711711
712712 // Send announcement.
713- ann := eth.NewPooledTransactionHashesPacket68 {Types : txTypes , Sizes : sizes , Hashes : hashes }
713+ ann := eth.NewPooledTransactionHashesPacket {Types : txTypes , Sizes : sizes , Hashes : hashes }
714714 err = conn .Write (ethProto , eth .NewPooledTransactionHashesMsg , ann )
715715 if err != nil {
716716 t .Fatalf ("failed to write to connection: %v" , err )
@@ -728,7 +728,7 @@ func (s *Suite) TestNewPooledTxs(t *utesting.T) {
728728 t .Fatalf ("unexpected number of txs requested: wanted %d, got %d" , len (hashes ), len (msg .GetPooledTransactionsRequest ))
729729 }
730730 return
731- case * eth.NewPooledTransactionHashesPacket68 :
731+ case * eth.NewPooledTransactionHashesPacket :
732732 continue
733733 case * eth.TransactionsPacket :
734734 continue
@@ -796,12 +796,12 @@ func (s *Suite) TestBlobViolations(t *utesting.T) {
796796 t2 = s .makeBlobTxs (2 , 3 , 0x2 )
797797 )
798798 for _ , test := range []struct {
799- ann eth.NewPooledTransactionHashesPacket68
799+ ann eth.NewPooledTransactionHashesPacket
800800 resp eth.PooledTransactionsResponse
801801 }{
802802 // Invalid tx size.
803803 {
804- ann : eth.NewPooledTransactionHashesPacket68 {
804+ ann : eth.NewPooledTransactionHashesPacket {
805805 Types : []byte {types .BlobTxType , types .BlobTxType },
806806 Sizes : []uint32 {uint32 (t1 [0 ].Size ()), uint32 (t1 [1 ].Size () + 10 )},
807807 Hashes : []common.Hash {t1 [0 ].Hash (), t1 [1 ].Hash ()},
@@ -810,7 +810,7 @@ func (s *Suite) TestBlobViolations(t *utesting.T) {
810810 },
811811 // Wrong tx type.
812812 {
813- ann : eth.NewPooledTransactionHashesPacket68 {
813+ ann : eth.NewPooledTransactionHashesPacket {
814814 Types : []byte {types .DynamicFeeTxType , types .BlobTxType },
815815 Sizes : []uint32 {uint32 (t2 [0 ].Size ()), uint32 (t2 [1 ].Size ())},
816816 Hashes : []common.Hash {t2 [0 ].Hash (), t2 [1 ].Hash ()},
0 commit comments