Unverified Commit 93d22fb3 authored by Robin Freyler's avatar Robin Freyler Committed by GitHub
Browse files

fix clippy warning in on_chain engine (#955)

parent b951e6ff
Pipeline #161427 passed with stages
in 35 minutes and 3 seconds
......@@ -295,7 +295,7 @@ impl EnvBackend for EnvInstance {
let enc_input = scope.take_encoded(input);
let output = &mut scope.take_rest();
status_to_result(ext::call_chain_extension(func_id, enc_input, output))?;
let decoded = decode_to_result(&mut &output[..])?;
let decoded = decode_to_result(&output[..])?;
Ok(decoded)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment