Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Aug 22, 2022
1 parent 22c6798 commit 4e74f0d
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions applications/tari_app_grpc/src/conversions/sidechain_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,6 @@ impl TryFrom<grpc::side_chain_features::SideChainFeatures> for SideChainFeatures
}
}

// impl From<SideChainFeatures> for grpc::SideChainFeatures {
// fn from(value: SideChainFeatures) -> Self {
// Self {
// template_registration: value.template_registration.map(Into::into),
// }
// }
// }
//
// impl TryFrom<grpc::SideChainFeatures> for SideChainFeatures {
// type Error = String;
//
// fn try_from(features: grpc::SideChainFeatures) -> Result<Self, Self::Error> {
// let template_registration = features
// .template_registration
// .map(CodeTemplateRegistration::try_from)
// .transpose()?;
//
// Ok(Self { template_registration })
// }
// }

// -------------------------------- TemplateRegistration -------------------------------- //
impl TryFrom<grpc::TemplateRegistration> for CodeTemplateRegistration {
type Error = String;
Expand Down

0 comments on commit 4e74f0d

Please sign in to comment.