Skip to content

Commit 50f5908

Browse files
committed
sim-rs: keep mempools more in sync
1 parent 03ceefc commit 50f5908

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sim-rs/sim-core/src/sim/node.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ impl Node {
741741
};
742742
for tx in &ib.transactions {
743743
self.praos.mempool.remove(&tx.id);
744+
self.leios.mempool.remove(&tx.id);
744745
}
745746
}
746747
}
@@ -766,6 +767,7 @@ impl Node {
766767
size += tx.bytes;
767768
let id = *id;
768769
transactions.push(self.praos.mempool.remove(&id).unwrap());
770+
self.leios.mempool.remove(&id);
769771
}
770772
}
771773
}

0 commit comments

Comments
 (0)