pub fn load_hashed_cell(&mut self, cell: Cell, check_special: bool) -> Result<SliceData> {
        let first = self.visited_cells.insert(cell.repr_hash());
        self.use_gas(Gas::load_cell_price(first));
        if check_special {
            match cell.cell_type() {
                CellType::Ordinary => {
                    Ok(cell.into())
                }
                CellType::LibraryReference => {
                    let cell = self.load_library_cell(cell)?;
                    self.load_hashed_cell(cell, true)
                }
                cell_type => err!(ExceptionCode::CellUnderflow, "Wrong cell type {}", cell_type)
            }
        } else {
            Ok(cell.into())
        }
    }
/// Loads cell to slice cheking in precashed map
Loads cell to slice cheking in precashed map
Loads cell to slice cheking in precashed map
pub fn load_hashed_cell(&mut self, cell: Cell, check_special: bool) -> Result<SliceData> {
        let first = self.visited_cells.insert(cell.repr_hash());
        self.use_gas(Gas::load_cell_price(first));
        if check_special {
            match cell.cell_type() {
                CellType::Ordinary => {
                    Ok(cell.into())
                }
                CellType::LibraryReference => {
                    let cell = self.load_library_cell(cell)?;
                    self.load_hashed_cell(cell, true)
                }
                cell_type => err!(ExceptionCode::CellUnderflow, "Wrong cell type {}", cell_type)
            }
        } else {
            Ok(cell.into())
        }
    }
pub fn load_hashed_cell ( & mut self , cell : Cell , check_special : bool ) -> Result < SliceData > { let first = self . visited_cells . insert ( cell . repr_hash ( ) ) ; self . use_gas ( Gas :: load_cell_price ( first ) ) ; if check_special { match cell . cell_type ( ) { CellType :: Ordinary => { Ok ( cell . into ( ) ) } CellType :: LibraryReference => { let cell = self . load_library_cell ( cell ) ? ; self . load_hashed_cell ( cell , true ) } cell_type => err ! ( ExceptionCode CellUnderflow " " cell_type ) } } else { Ok ( cell . into ( ) ) } }
Loads cell to slice cheking in precashed map
Loads cell to slice cheking in precashed map
&mut self
cell
Cell
check_special
bool
&mut self
cell
Cell
check_special
bool