fix: count the number of txs sent

This commit is contained in:
Jude Nelson
2023-10-05 13:47:33 -04:00
parent cdeb6315ff
commit 8e880e7a4d

View File

@@ -200,6 +200,7 @@ impl HttpChunkGenerator for StacksMemPoolStream {
// next call will cork the stream
self.finished = true;
}
self.num_txs += next_txs.len() as u64;
return Ok(chunk);
} else if let Some(next_txid) = next_last_randomized_txid_opt {
// no more txs to send