Skip to content

Commit ce8e58c

Browse files
author
ChallengeDev210
committed
Update documentation of EcdsaSig::from_slice
1 parent e899a73 commit ce8e58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/ecdsa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl EcdsaSig {
4343
}
4444
}
4545

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

0 commit comments

Comments
 (0)