Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion barretenberg_wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub mod scalar_mul;
pub mod schnorr;

pub use common::crs;
use std::cell::Cell;
use wasmer::{
imports, Function, FunctionType, Instance, Memory, MemoryType, Module, Store, Type, Value,
};
Expand Down Expand Up @@ -73,7 +74,7 @@ impl Barretenberg {
#[cfg(not(feature = "js"))]
return memory.view()[start as usize..end]
.iter()
.map(|cell| cell.get())
.map(|cell: &Cell<u8>| cell.get())
.collect();
}

Expand Down