We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c396df commit 24a0a05Copy full SHA for 24a0a05
key/src/ecdsa.rs
@@ -68,15 +68,6 @@ impl ECDSASignature {
68
self.0[64]
69
}
70
71
- /// Create a signature object from the sig.
72
- pub fn from_rsv(r: &H256, s: &H256, v: u8) -> Self {
73
- let mut sig = [0u8; 65];
74
- sig[0..32].copy_from_slice(&r);
75
- sig[32..64].copy_from_slice(&s);
76
- sig[64] = v;
77
- ECDSASignature(sig)
78
- }
79
-
80
/// Check if this is a "low" signature.
81
pub fn is_low_s(&self) -> bool {
82
H256::from_slice(self.s()) <= "7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0".into()
0 commit comments