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 b21bc70 commit 1586b0fCopy full SHA for 1586b0f
tap_eip712_message/src/lib.rs
@@ -62,7 +62,9 @@ pub trait SignatureBytesExt {
62
63
impl SignatureBytesExt for Signature {
64
fn get_signature_bytes(&self) -> SignatureBytes {
65
- SignatureBytes(self.as_bytes())
+ // Canonicalize to low-S form before returning bytes
66
+ let canonical = self.normalized_s();
67
+ SignatureBytes(canonical.as_bytes())
68
}
69
70
tap_receipt/src/lib.rs
@@ -68,6 +68,6 @@ where
type Output = SignatureBytes;
fn unique_id(&self) -> Self::Output {
71
- self.signature.normalized_s().get_signature_bytes()
+ self.signature.get_signature_bytes()
72
73
0 commit comments