Skip to content

Commit

Permalink
fix(bls): remove ed25519 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrusu authored and dan-da committed Jun 3, 2021
1 parent e3da1fb commit d46422a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ threshold_crypto = "0.4"
version = "2.0.0"
features = [ "sha3" ]

[dependencies.ed25519]
version = "1"
package = "ed25519-dalek"
features = [ "serde" ]

[dependencies.serde]
version = "1.0.111"
features = [ "derive", "rc" ]
Expand Down
3 changes: 0 additions & 3 deletions src/dbc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,6 @@ mod tests {
Err(Error::MissingSignatureForInput) => {
assert!(n_valid_sigs.coerce::<u8>() < n_inputs.coerce::<u8>());
}
Err(Error::Ed25519(_)) => {
assert!(n_wrong_msg_sigs.coerce::<u8>() > 0);
}
Err(Error::UnknownInput) => {
assert!(n_extra_input_sigs.coerce::<u8>() > 0);
assert_ne!(
Expand Down
2 changes: 0 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ pub enum Error {
DbcContentNotPresentInTransactionOutput,
#[error("Dbc Content parents is not the same transaction inputs")]
DbcContentParentsDifferentFromTransactionInputs,
#[error("Failed to verify signature")]
Ed25519(#[from] ed25519::ed25519::Error),
/// I/O error.
#[error("I/O error: {0}")]
Io(#[from] io::Error),
Expand Down

0 comments on commit d46422a

Please sign in to comment.