Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update frame/contracts/src/exec.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Theißen <[email protected]>
  • Loading branch information
shawntabrizi and athei authored Mar 29, 2022
1 parent 224bd64 commit 7a6b5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/contracts/src/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ where
Ok((success, output)) => (success, output),
// `with_transactional` returned an error, and we propagate that error and note no state
// has changed.
Err(error) => (false, Err(ExecError { error, origin: ErrorOrigin::Callee })),
Err(error) => (false, Err(error.into()),
};
self.pop_frame(success);
output
Expand Down

0 comments on commit 7a6b5d8

Please sign in to comment.