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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
test/fuzz/mempool/checktx.go
|
|
@ -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, |
|
|
|