move lazy tx deletion into main loop

This commit is contained in:
Mononaut
2023-03-24 09:48:08 +09:00
parent 1fd85b729d
commit 28de93d0ff
2 changed files with 2 additions and 2 deletions

View File

@@ -178,6 +178,7 @@ class Server {
logger.debug(msg);
}
}
memPool.deleteExpiredTransactions();
await blocks.$updateBlocks();
await memPool.$updateMempool();
indexer.$run();