Remove cropping on pow of two the kvs for AddBatch

- Remove cropping on power of two the kvs for AddBatch
  - As not needed to be power of two length with the Virtual Tree
- Fix keyValuesToKvs keyPath
This commit is contained in:
arnaucube
2021-05-19 12:58:11 +02:00
parent 03bb9f7447
commit 13378d338e
4 changed files with 27 additions and 62 deletions

View File

@@ -61,8 +61,6 @@ func TestVirtualTreeRandomKeys(t *testing.T) {
values[i] = []byte{0}
}
// check the root for different batches of leafs
testVirtualTree(c, 100, keys[:1], values[:1])
testVirtualTree(c, 100, keys, values)
}