fn ensure_return_ok(
exit: InstructionResult,
out: &Option<Output>,
) -> Result<Bytes, BlockchainError>
Expand description
Returns an error if the exit
code is not ok
fn ensure_return_ok(
exit: InstructionResult,
out: &Option<Output>,
) -> Result<Bytes, BlockchainError>
Returns an error if the exit
code is not ok