Skip to content

Commit

Permalink
fix: serde flag
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach authored and davidrusu committed Feb 2, 2023
1 parent 0d391e3 commit 985170f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transaction/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ use crate::Commitment;
use blsttc::{PublicKey, SecretKey, Signature};

#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use serde::{self, Deserialize, Serialize};

#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, Clone)]
pub struct RevealedInput {
#[serde(skip_serializing)]
#[cfg_attr(feature = "serde", serde(skip_serializing))]
pub secret_key: SecretKey,
pub revealed_commitment: RevealedCommitment,
}
Expand Down

0 comments on commit 985170f

Please sign in to comment.