Skip to content

Commit

Permalink
Update documentation of EcdsaSig::from_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket1729 committed Jan 13, 2022
1 parent 5d77ad2 commit e57b392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/ecdsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ impl EcdsaSig {
}
}

/// Deserialize from slice
/// Deserialize from slice following the standardness rules for [`EcdsaSigHashType`]
pub fn from_slice(sl: &[u8]) -> Result<Self, EcdsaSigError> {
let (hash_ty, sig) = sl.split_last()
.ok_or(EcdsaSigError::EmptySignature)?;
Expand Down

0 comments on commit e57b392

Please sign in to comment.