Skip to content

Commit

Permalink
Use the typed encoder, not always Bincode (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris authored Mar 4, 2024
1 parent 4d87424 commit fc2c1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firewood/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ where
}
};

Bincode::serialize(&encoded).map_err(|e| MerkleError::BinarySerdeError(e.to_string()))
T::serialize(&encoded).map_err(|e| MerkleError::BinarySerdeError(e.to_string()))
}

#[allow(dead_code)]
Expand Down

0 comments on commit fc2c1d2

Please sign in to comment.