User serde_json for SignedOp serialization

This commit is contained in:
Dave Hrycyszyn
2024-06-07 14:58:41 +01:00
parent 95e3127903
commit b1f5d2b75a
3 changed files with 4 additions and 10 deletions

View File

@@ -123,12 +123,6 @@ pub struct SignedOp {
pub depends_on: Vec<SignedDigest>,
}
impl Display for SignedOp {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "SignedOp({})", self)
}
}
impl SignedOp {
pub fn id(&self) -> OpId {
self.inner.id