[bugfix] fix possible domain blockcache nil ptr + add debug String() func (#1755)

This commit is contained in:
kim 2023-05-09 15:18:51 +01:00 committed by GitHub
commit 11e843a273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 6 deletions

View file

@ -69,7 +69,9 @@ func TestBlockCache(t *testing.T) {
}
// Clear the cache
t.Logf("%+v\n", c)
c.Clear()
t.Logf("%+v\n", c)
knownErr := errors.New("known error")