Skip to content

Commit

Permalink
more ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Mar 31, 2022
1 parent f9769dc commit 6a85959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/env/src/engine/on_chain/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,13 +523,13 @@ impl TypedEnvBackend for EnvInstance {
{
let mut scope = self.scoped_buffer();
let enc_account_id = scope.take_encoded(account_id);
ext::code_hash(enc_account_id, output).map_err(Into::into)
ext::code_hash(enc_account_id, output.as_mut()).map_err(Into::into)
}

fn own_code_hash<E>(&mut self, output: &mut E::Hash) -> Result<()>
where
E: Environment,
{
ext::own_code_hash(output).map_err(Into::into)
ext::own_code_hash(output.as_mut()).map_err(Into::into)
}
}

0 comments on commit 6a85959

Please sign in to comment.