doc(hidden) for TransactionsManager handle only used in tests (#6748)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Emilia Hane
2024-02-24 15:35:19 +01:00
committed by GitHub
parent 94cb6a8bcd
commit 8abbe19392
4 changed files with 24 additions and 5 deletions

View File

@ -42,6 +42,9 @@ async fn main() -> eyre::Result<()> {
.transactions(pool.clone(), transactions_manager_config)
.split_with_handle();
// this can be used to interact with the `txpool` service directly
let _txs_handle = txpool.handle();
// spawn the network task
tokio::task::spawn(network);
// spawn the pool task