feat: mempool: reintroduce ForEachPendingMessage

This commit is contained in:
Aayush
2023-05-10 14:19:33 -04:00
parent 92dcfe530b
commit fb228ebbff
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func MessagePool(lc fx.Lifecycle, mctx helpers.MetricsCtx, us stmgr.UpgradeSched
return mp.Close()
},
})
protector.AddProtector(mp.TryForEachPendingMessage)
protector.AddProtector(mp.ForEachPendingMessage)
return mp, nil
}