diff --git a/README.md b/README.md index f4c4616..6fb1cc4 100644 --- a/README.md +++ b/README.md @@ -123,13 +123,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(); }