mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
@@ -1,3 +1 @@
|
||||
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
|
||||
|
||||
pub mod serde;
|
||||
|
||||
@@ -288,7 +288,7 @@ fn serialize_inputs(inputs: &Input) -> Result<Vec<u8>, bincode::Error> {
|
||||
inputs.iter().try_fold(Vec::new(), |mut acc, item| {
|
||||
match item {
|
||||
InputItem::Object(obj) => {
|
||||
bincode::serialize_into(&mut acc, obj)?;
|
||||
bincode::serialize_into(&mut acc, &**obj)?;
|
||||
}
|
||||
InputItem::SerializedObject(bytes) | InputItem::Bytes(bytes) => acc.extend(bytes),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user