correction tx channel count

This commit is contained in:
Godmode Galactus 2023-04-18 11:48:56 +02:00
parent d261c80574
commit d3db9dbb84
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 1 additions and 1 deletions

View File

@ -170,11 +170,11 @@ impl TxSender {
{
Ok(value) => match value {
Some((sig, tx, slot)) => {
TXS_IN_CHANNEL.dec();
if self.txs_sent_store.contains_key(&sig) {
// duplicate transaction
continue;
}
TXS_IN_CHANNEL.dec();
sigs_and_slots.push((sig, slot));
txs.push(tx);
// update the timeout inteval