diff options
| author | Pieter Wuille <[email protected]> | 2014-11-12 11:36:44 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-12 11:44:25 -0800 |
| commit | 60672a61ff7bd9679e1c7683c28ecdf0f02daaeb (patch) | |
| tree | 2ac49818c5f048efd7826371a8e125570692e5f3 /src/key.cpp | |
| parent | Merge pull request #5161 (diff) | |
| parent | Do signature-s negation inside the tests (diff) | |
| download | discoin-60672a61ff7bd9679e1c7683c28ecdf0f02daaeb.tar.xz discoin-60672a61ff7bd9679e1c7683c28ecdf0f02daaeb.zip | |
Merge pull request #5256
f4e0aef Do signature-s negation inside the tests (Pieter Wuille)
Diffstat (limited to 'src/key.cpp')
| -rw-r--r-- | src/key.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/key.cpp b/src/key.cpp index 1b539d073..0ca9a681a 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -102,7 +102,7 @@ CPubKey CKey::GetPubKey() const { return result; } -bool CKey::Sign(const uint256 &hash, std::vector<unsigned char>& vchSig, bool lowS) const { +bool CKey::Sign(const uint256 &hash, std::vector<unsigned char>& vchSig) const { if (!fValid) return false; #ifdef USE_SECP256K1 @@ -119,7 +119,7 @@ bool CKey::Sign(const uint256 &hash, std::vector<unsigned char>& vchSig, bool lo #else CECKey key; key.SetSecretBytes(vch); - return key.Sign(hash, vchSig, lowS); + return key.Sign(hash, vchSig); #endif } |