Example #1
0
        public static bool EnsureLowS(BlockSignature blockSignature)
        {
            var signature = new ECDSASignature(blockSignature.Signature);

            if (!signature.IsLowS)
            {
                blockSignature.Signature = signature.MakeCanonical().ToDER();
            }
            return(true);
        }
Example #2
0
 protected bool Equals(BlockSignature other)
 {
     return(Equals(signature, other.signature));
 }