Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2 committed Sep 10, 2024
1 parent 837c62c commit 69d330f
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions zcash_client_memory/src/types/serialization/notes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,32 +155,6 @@ pub struct OutPointDef {
pub n: u32,
}

/// Concrete conversion implementation of commonly used Recipient typ
// #[serde_as]
// #[derive(Serialize)]
// pub enum RecipientDef {
// External(
// #[serde_as(as = "ZcashAddressDef")] ZcashAddress,
// #[serde_as(as = "PoolTypeDef")] PoolType,
// ),
// EphemeralTransparent {
// receiving_account: crate::AccountId,
// #[serde_as(as = "TransparentAddressDef")]
// ephemeral_address: TransparentAddress,
// #[serde_as(as = "OutPointDef")]
// outpoint_metadata: OutPoint,
// },
// InternalAccount {
// receiving_account: crate::AccountId,
// #[serde_as(as = "Option<ZcashAddressDef>")]
// external_address: Option<ZcashAddress>,
// // #[serde(bound(
// // serialize = "NoteDef: Into<NoteDef>, NoteDef: SerializeAs<N>",
// // ))]
// #[serde_as(as = "NoteDef")]
// note: Note,
// },
// }
pub struct RecipientDef<AccountId, Note, OutPoint>(
std::marker::PhantomData<(AccountId, Note, OutPoint)>,
);
Expand Down

0 comments on commit 69d330f

Please sign in to comment.