|
|
@@ -176,7 +176,7 @@ fn process_instruction(cid: ContractId, ix: &[u8]) -> ContractResult {
|
|
|
// `process_update()` will be prefixed with the first byte from the payload
|
|
|
// fed to this function so there is no need to add it ourself. We just
|
|
|
// return the payload we want to work with.
|
|
|
- wasm::util::set_return_data(&serialize(&commitment))
|
|
|
+ wasm::util::set_return_data(&commitment)
|
|
|
}
|
|
|
|
|
|
/// Contract apply function
|