revert mistake change

This commit is contained in:
maskpp
2023-02-10 16:49:31 +08:00
parent 631915480b
commit b589ebeaba

View File

@@ -121,7 +121,7 @@ func testBatchSender(t *testing.T, batchSize int) {
eg.Go(func() error {
for i := 0; i < TXBatch; i++ {
toAddr := common.HexToAddress("0x4592d8f8d7b001e72cb26a73e4fa1806a51ac79d")
id := strconv.Itoa(i + (index+1)*1000)
id := strconv.Itoa(i + index*1000)
_, err := newSender.SendTransaction(id, &toAddr, big.NewInt(1), nil)
if errors.Is(err, sender.ErrNoAvailableAccount) {
<-time.After(time.Second)