Browse Source

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

We were creating a TestLogger without testing being initialized.
Switch to a no-op logger instead.
pull/7227/head
M. J. Fromberger 3 years ago
committed by GitHub
parent
commit
0de4aa1765
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/fuzz/mempool/checktx.go

+ 1
- 1
test/fuzz/mempool/checktx.go 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,


Loading…
Cancel
Save