Skip to content

Commit

Permalink
feat: serialize blsttc and ringct error variants
Browse files Browse the repository at this point in the history
Also bumps blsttc dep to 5.2.0
  • Loading branch information
dan-da committed Apr 5, 2022
1 parent fef48fb commit 18c80a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ringct-serde = [ "blst_ringct/serde" ]

[dependencies]
thiserror = "1.0.24"
blsttc = "5.1.2"
blsttc = "5.2.0"
hex = "0.4.3"

[dependencies.blst_ringct]
Expand Down
2 changes: 0 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ pub enum Error {
#[error("The transaction input has {0:?} public keys but found {1:?} matching outputs in spentbook.")]
SpentbookRingSizeMismatch(usize, usize),

#[cfg_attr(feature = "serde", serde(skip))]
#[error("Bls error: {0}")]
Blsttc(#[from] blsttc::error::Error),

/// blst_ringct error.
#[cfg_attr(feature = "serde", serde(skip))]
#[error("ringct error: {0}")]
RingCt(#[from] blst_ringct::Error),

Expand Down

0 comments on commit 18c80a3

Please sign in to comment.