mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
doc(hidden) for TransactionsManager handle only used in tests (#6748)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user