From b71c6cdb37c06d9abf14d69f76b3b5b62eb7d8f6 Mon Sep 17 00:00:00 2001 From: Oleh Misarosh Date: Thu, 26 Sep 2024 22:33:55 +0200 Subject: [PATCH] remove unused generic param --- src/getters.nr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/getters.nr b/src/getters.nr index 702d77a..b75392f 100644 --- a/src/getters.nr +++ b/src/getters.nr @@ -27,7 +27,7 @@ impl which will be null if the entry does not exist + * @description returns an Option which will be null if the entry does not exist **/ fn get_json_entry(self, key: [u8; KeyBytes]) -> (bool, JSONEntry) { // let key_index = self.find_key_in_map(keyhash); @@ -251,7 +251,7 @@ impl KeySearchResult { let mut found_index: Field = 0; @@ -322,7 +322,7 @@ impl last entry - case 3: entry A > keyhash > entryB + case 3: entry A > keyhash > entryB */ let hasher: ByteHasher = ByteHasher {}; @@ -380,7 +380,7 @@ impl last entry - case 3: entry A > keyhash > entryB + case 3: entry A > keyhash > entryB */ let hasher: ByteHasher = ByteHasher {}; @@ -424,7 +424,7 @@ impl(self) -> BoundedVec { + unconstrained fn __get_keys_at_root(self) -> BoundedVec { let mut result: BoundedVec = BoundedVec { len: 0, storage: [0; MaxNumKeys] }; let root_object: JSONEntry = JSONEntry::from(self.json_entries_packed[self.root_index_in_transcript]);