Skip to content

Commit 93d3a25

Browse files
committed
fix
1 parent f9c9f8e commit 93d3a25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runner/payload/loadtest/load_test_worker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ func (w *loadTestPayloadWorker) Stop(ctx context.Context) error {
142142
return nil
143143
}
144144

145-
func (w *loadTestPayloadWorker) SendTxs(ctx context.Context) error {
145+
func (w *loadTestPayloadWorker) SendTxs(ctx context.Context, _ int) (int, error) {
146146
w.log.Info("Collecting txs from load test")
147147
pendingTxs := w.proxyServer.PendingTxs()
148148
w.proxyServer.ClearPendingTxs()
149149

150150
w.mempool.AddTransactions(pendingTxs)
151-
return nil
151+
return len(pendingTxs), nil
152152
}
153153

154154
// defaultTransactions returns the default transaction mix as a yaml.Node.

0 commit comments

Comments
 (0)