mirror of
https://github.com/arnaucube/arbo.git
synced 2026-01-15 01:41:28 +01:00
Replace naive AddBatch by optimized AddBatch
- Replace naive AddBatch by optimized AddBatch - Add blake2b hash support - Expose needed methods for external usage (ReadLeafValue, ReadIntermediateChilds) - Return 'value' in GenProof
This commit is contained in:
@@ -267,7 +267,7 @@ func TestGenProofAndVerify(t *testing.T) {
|
||||
}
|
||||
|
||||
k := BigIntToBytes(big.NewInt(int64(7)))
|
||||
siblings, err := tree.GenProof(k)
|
||||
_, siblings, err := tree.GenProof(k)
|
||||
c.Assert(err, qt.IsNil)
|
||||
|
||||
k = BigIntToBytes(big.NewInt(int64(7)))
|
||||
|
||||
Reference in New Issue
Block a user