Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Gabriel Jakabosky <rjakabosky+neopallium@neoawareness.com>
  • Loading branch information
Centril and Neopallium authored May 16, 2022
1 parent 17ffa90 commit 143c984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ impl<T: Config> Module<T> {
let did =
pallet_permissions::Module::<T>::ensure_call_permissions(&sender)?.primary_did;

// Roll back `prepare_instantiate` if contract was not instantiated.
// Add a secondary key. Deployment contract code might need this.
let code_hash = Self::code_hash(&code);
Self::prepare_instantiate(did, &sender, &code_hash, &salt, Permissions::empty())?;

Expand Down

0 comments on commit 143c984

Please sign in to comment.