mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-16 07:59:49 +08:00
fix: count the number of txs sent
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user