Skip to content

Commit

Permalink
Revert init_v2
Browse files Browse the repository at this point in the history
This currently breaks in local development
  • Loading branch information
dansteren committed Sep 21, 2023
1 parent 0ed0d6b commit 02d9051
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn generate() -> TokenStream {
let mut stable_b_tree_maps = stable_b_tree_maps.borrow_mut();
stable_b_tree_maps.insert(
memory_id,
StableBTreeMap::init_v2(MEMORY_MANAGER_REF_CELL.with(|m| m.borrow().get(MemoryId::new(memory_id))),)
StableBTreeMap::init(MEMORY_MANAGER_REF_CELL.with(|m| m.borrow().get(MemoryId::new(memory_id))),)
);
});

Expand Down

0 comments on commit 02d9051

Please sign in to comment.