From c8f63a1693ebe631f6361ccf75370f6eb3ef6c8d Mon Sep 17 00:00:00 2001 From: Damir Vodenicarevic Date: Tue, 19 Dec 2023 17:02:59 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b27cee8..e9ecc0c 100644 --- a/README.md +++ b/README.md @@ -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(); }