db migration to clear obsolete audit data

This commit is contained in:
Mononaut
2022-10-31 11:07:28 -06:00
parent 8a367fc6fd
commit a32f960c4a
2 changed files with 7 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ class WebsocketHandler {
let matchRate;
const _memPool = memPool.getMempool();
if (Common.indexingEnabled()) {
if (Common.indexingEnabled() && memPool.isInSync()) {
const mempoolCopy = cloneMempool(_memPool);
const projectedBlocks = mempoolBlocks.makeBlockTemplates(mempoolCopy, 2);