core/rawdb: fixed TestFreezerOffset

This commit is contained in:
Pratik Patil 2025-05-13 07:46:54 +05:30
parent 20cc6d4f6c
commit abbcc4847b
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -589,7 +589,7 @@ func TestFreezerOffset(t *testing.T) {
t.Log(f.dumpIndexString(0, 100))
// It should allow writing item 6.
batch = f.newBatch(6)
batch = f.newBatch(0)
require.NoError(t, batch.AppendRaw(6, getChunk(20, 0x99)))
require.NoError(t, batch.commit())