Skip to content

Commit

Permalink
Rename verifyProof on verkle to verifyVerkleProof
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Aug 5, 2024
1 parent 44de8f7 commit d0f0ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/verkle/src/verkleTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export class VerkleTree {
}

/**
* Creates a proof from a tree and key that can be verified using {@link VerkleTree.verifyProof}.
* Creates a proof from a tree and key that can be verified using {@link VerkleTree.verifyVerkleProof}.
* @param key
*/
async createVerkleProof(_key: Uint8Array): Promise<Proof> {
Expand All @@ -544,7 +544,7 @@ export class VerkleTree {
* @throws If proof is found to be invalid.
* @returns The value from the key, or null if valid proof of non-existence.
*/
async verifyProof(
async verifyVerkleProof(
_rootHash: Uint8Array,
_key: Uint8Array,
_proof: Proof,
Expand Down

0 comments on commit d0f0ecb

Please sign in to comment.