return hash from wasm
This commit is contained in:
parent
d0accedf87
commit
9c6608773d
@ -81,7 +81,12 @@ cfg_if! {
|
||||
let mut output: Vec<u8> = vec![];
|
||||
params.write(&mut output).expect("failed to write updated parameters");
|
||||
log!("Returning parameters");
|
||||
Ok(output)
|
||||
|
||||
Ok(hash
|
||||
.iter().cloned()
|
||||
.chain(output.iter().cloned())
|
||||
.collect()
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user