Skip to content

Commit

Permalink
core: check journalType before load journal
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjunLi committed Apr 18, 2024
1 parent 8233676 commit 59df78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triedb/pathdb/difflayer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,6 @@ func BenchmarkJournal(b *testing.B) {
b.ResetTimer()

for i := 0; i < b.N; i++ {
layer.journal(new(bytes.Buffer), false)
layer.journal(new(bytes.Buffer), JournalKVType)
}
}

0 comments on commit 59df78e

Please sign in to comment.