[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
parent 8275d70e38
commit 11e843a273
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")