We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c9f8e commit 93d3a25Copy full SHA for 93d3a25
1 file changed
runner/payload/loadtest/load_test_worker.go
@@ -142,13 +142,13 @@ func (w *loadTestPayloadWorker) Stop(ctx context.Context) error {
142
return nil
143
}
144
145
-func (w *loadTestPayloadWorker) SendTxs(ctx context.Context) error {
+func (w *loadTestPayloadWorker) SendTxs(ctx context.Context, _ int) (int, error) {
146
w.log.Info("Collecting txs from load test")
147
pendingTxs := w.proxyServer.PendingTxs()
148
w.proxyServer.ClearPendingTxs()
149
150
w.mempool.AddTransactions(pendingTxs)
151
- return nil
+ return len(pendingTxs), nil
152
153
154
// defaultTransactions returns the default transaction mix as a yaml.Node.
0 commit comments