Fix spurious crasher in mempool fuzz test. (#7190)

We were creating a TestLogger without testing being initialized.
Switch to a no-op logger instead.
This commit is contained in:
M. J. Fromberger
2021-11-03 08:36:02 -07:00
committed by GitHub
parent dc28734dad
commit 0de4aa1765

View File

@@ -28,7 +28,7 @@ func init() {
getMp = func() mempool.Mempool {
if mp == nil {
mp = mempool.NewTxMempool(
log.TestingLogger().With("module", "mempool"),
log.NewNopLogger(),
cfg,
appConnMem,
0,