@@ -200,7 +200,7 @@ func TestStateChangeDuringTransactionPoolReset(t *testing.T) {
200200 t .Fatalf ("Invalid nonce, want 0, got %d" , nonce )
201201 }
202202
203- pool .addRemotesSync ([]* types.Transaction {tx0 , tx1 })
203+ pool .AddRemotesSync ([]* types.Transaction {tx0 , tx1 })
204204
205205 nonce = pool .Nonce (address )
206206 if nonce != 2 {
@@ -587,7 +587,7 @@ func TestTransactionPostponing(t *testing.T) {
587587 txs = append (txs , tx )
588588 }
589589 }
590- for i , err := range pool .addRemotesSync (txs ) {
590+ for i , err := range pool .AddRemotesSync (txs ) {
591591 if err != nil {
592592 t .Fatalf ("tx %d: failed to add transactions: %v" , i , err )
593593 }
@@ -683,7 +683,7 @@ func TestTransactionGapFilling(t *testing.T) {
683683 defer sub .Unsubscribe ()
684684
685685 // Create a pending and a queued transaction with a nonce-gap in between
686- pool .addRemotesSync ([]* types.Transaction {
686+ pool .AddRemotesSync ([]* types.Transaction {
687687 transaction (0 , 100000 , key ),
688688 transaction (2 , 100000 , key ),
689689 })
@@ -800,7 +800,7 @@ func testTransactionQueueGlobalLimiting(t *testing.T, nolocals bool) {
800800 nonces [addr ]++
801801 }
802802 // Import the batch and verify that limits have been enforced
803- pool .addRemotesSync (txs )
803+ pool .AddRemotesSync (txs )
804804
805805 queued := 0
806806 for addr , list := range pool .queue {
@@ -988,7 +988,7 @@ func TestTransactionPendingGlobalLimiting(t *testing.T) {
988988 }
989989 }
990990 // Import the batch and verify that limits have been enforced
991- pool .addRemotesSync (txs )
991+ pool .AddRemotesSync (txs )
992992
993993 pending := 0
994994 for _ , list := range pool .pending {
@@ -1068,7 +1068,7 @@ func TestTransactionPendingMinimumAllowance(t *testing.T) {
10681068 }
10691069 }
10701070 // Import the batch and verify that limits have been enforced
1071- pool .addRemotesSync (txs )
1071+ pool .AddRemotesSync (txs )
10721072
10731073 for addr , list := range pool .pending {
10741074 if list .Len () != int (config .AccountSlots ) {
@@ -1124,7 +1124,7 @@ func TestTransactionPoolRepricing(t *testing.T) {
11241124 ltx := pricedTransaction (0 , 100000 , big .NewInt (1 ), keys [3 ])
11251125
11261126 // Import the batch and that both pending and queued transactions match up
1127- pool .addRemotesSync (txs )
1127+ pool .AddRemotesSync (txs )
11281128 pool .AddLocal (ltx )
11291129
11301130 pending , queued := pool .Stats ()
@@ -1404,7 +1404,7 @@ func TestTransactionPoolStableUnderpricing(t *testing.T) {
14041404 for i := uint64 (0 ); i < config .GlobalSlots ; i ++ {
14051405 txs = append (txs , pricedTransaction (i , 100000 , big .NewInt (1 ), keys [0 ]))
14061406 }
1407- pool .addRemotesSync (txs )
1407+ pool .AddRemotesSync (txs )
14081408
14091409 pending , queued := pool .Stats ()
14101410 if pending != int (config .GlobalSlots ) {
@@ -1658,7 +1658,7 @@ func TestTransactionStatusCheck(t *testing.T) {
16581658 txs = append (txs , pricedTransaction (2 , 100000 , big .NewInt (1 ), keys [2 ])) // Queued only
16591659
16601660 // Import the transaction and ensure they are correctly added
1661- pool .addRemotesSync (txs )
1661+ pool .AddRemotesSync (txs )
16621662
16631663 pending , queued := pool .Stats ()
16641664 if pending != 2 {
0 commit comments