Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
damip committed Dec 19, 2023
1 parent 7141127 commit c8f63a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ fn main() {
.get(&BitVec::from_vec(vec![1, 2, 2]))
.unwrap();

// Update the `pair2` item and commit.
let pair2 = (
// Insert a new item and commit.
let pair4 = (
vec![1, 2, 3],
Felt252Wrapper::from_hex_be("0x66342762FDD54D033c195fec3ce2568b62052e").unwrap(),
);
bonsai_storage
.insert(&BitVec::from_vec(pair2.0.clone()), &pair2.1)
.insert(&BitVec::from_vec(pair4.0.clone()), &pair4.1)
.unwrap();
bonsai_storage.commit(id_builder.new_id()).unwrap();
}
Expand Down

0 comments on commit c8f63a1

Please sign in to comment.