fixed clippy issue
This commit is contained in:
parent
c6de827721
commit
4ef654b660
|
@ -136,8 +136,8 @@ pub fn eval_phase_two_raw(
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn apply_params_to_script(
|
pub fn apply_params_to_script(
|
||||||
params_bytes: &Vec<u8>, // PlutusData array
|
params_bytes: &[u8], // PlutusData array
|
||||||
plutus_script_bytes: &Vec<u8>,
|
plutus_script_bytes: &[u8],
|
||||||
) -> Result<Vec<u8>, Error> {
|
) -> Result<Vec<u8>, Error> {
|
||||||
let params = match PlutusData::decode_fragment(params_bytes).unwrap() {
|
let params = match PlutusData::decode_fragment(params_bytes).unwrap() {
|
||||||
PlutusData::Array(res) => res,
|
PlutusData::Array(res) => res,
|
||||||
|
|
Loading…
Reference in New Issue