File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ func (w *worker) BuildTransactionsLists(
9898 minTip ,
9999 )
100100
101- b , err := encodeAndComporeessTxList (env .txs )
101+ b , err := encodeAndCompressTxList (env .txs )
102102 if err != nil {
103103 return nil , nil , err
104104 }
@@ -314,7 +314,7 @@ loop:
314314 txs .Shift ()
315315
316316 // Encode and compress the txList, if the byte length is > maxBytesPerTxList, remove the latest tx and break.
317- b , err := encodeAndComporeessTxList (env .txs )
317+ b , err := encodeAndCompressTxList (env .txs )
318318 if err != nil {
319319 log .Trace ("Failed to rlp encode and compress the pending transaction %s: %w" , tx .Hash (), err )
320320 txs .Pop ()
@@ -336,8 +336,8 @@ loop:
336336 return lastTransaction
337337}
338338
339- // encodeAndComporeessTxList encodes and compresses the given transactions list.
340- func encodeAndComporeessTxList (txs types.Transactions ) ([]byte , error ) {
339+ // encodeAndCompressTxList encodes and compresses the given transactions list.
340+ func encodeAndCompressTxList (txs types.Transactions ) ([]byte , error ) {
341341 b , err := rlp .EncodeToBytes (txs )
342342 if err != nil {
343343 return nil , err
You can’t perform that action at this time.
0 commit comments