@@ -710,7 +710,7 @@ func (s *Suite) TestNewPooledTxs(t *utesting.T) {
710
710
}
711
711
712
712
// Send announcement.
713
- ann := eth.NewPooledTransactionHashesPacket68 {Types : txTypes , Sizes : sizes , Hashes : hashes }
713
+ ann := eth.NewPooledTransactionHashesPacket {Types : txTypes , Sizes : sizes , Hashes : hashes }
714
714
err = conn .Write (ethProto , eth .NewPooledTransactionHashesMsg , ann )
715
715
if err != nil {
716
716
t .Fatalf ("failed to write to connection: %v" , err )
@@ -728,7 +728,7 @@ func (s *Suite) TestNewPooledTxs(t *utesting.T) {
728
728
t .Fatalf ("unexpected number of txs requested: wanted %d, got %d" , len (hashes ), len (msg .GetPooledTransactionsRequest ))
729
729
}
730
730
return
731
- case * eth.NewPooledTransactionHashesPacket68 :
731
+ case * eth.NewPooledTransactionHashesPacket :
732
732
continue
733
733
case * eth.TransactionsPacket :
734
734
continue
@@ -796,12 +796,12 @@ func (s *Suite) TestBlobViolations(t *utesting.T) {
796
796
t2 = s .makeBlobTxs (2 , 3 , 0x2 )
797
797
)
798
798
for _ , test := range []struct {
799
- ann eth.NewPooledTransactionHashesPacket68
799
+ ann eth.NewPooledTransactionHashesPacket
800
800
resp eth.PooledTransactionsResponse
801
801
}{
802
802
// Invalid tx size.
803
803
{
804
- ann : eth.NewPooledTransactionHashesPacket68 {
804
+ ann : eth.NewPooledTransactionHashesPacket {
805
805
Types : []byte {types .BlobTxType , types .BlobTxType },
806
806
Sizes : []uint32 {uint32 (t1 [0 ].Size ()), uint32 (t1 [1 ].Size () + 10 )},
807
807
Hashes : []common.Hash {t1 [0 ].Hash (), t1 [1 ].Hash ()},
@@ -810,7 +810,7 @@ func (s *Suite) TestBlobViolations(t *utesting.T) {
810
810
},
811
811
// Wrong tx type.
812
812
{
813
- ann : eth.NewPooledTransactionHashesPacket68 {
813
+ ann : eth.NewPooledTransactionHashesPacket {
814
814
Types : []byte {types .DynamicFeeTxType , types .BlobTxType },
815
815
Sizes : []uint32 {uint32 (t2 [0 ].Size ()), uint32 (t2 [1 ].Size ())},
816
816
Hashes : []common.Hash {t2 [0 ].Hash (), t2 [1 ].Hash ()},
0 commit comments