diff options
| author | Pieter Wuille <[email protected]> | 2014-11-05 10:53:59 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-11-10 05:03:24 -0800 |
| commit | f4e0aefadcc9f37611a6d5a13e3f7b4b9a37bf76 (patch) | |
| tree | 2850672169ed04c051d3d70f65b3d29aadfc8027 /src/ecwrapper.h | |
| parent | Merge pull request #5249 (diff) | |
| download | discoin-f4e0aefadcc9f37611a6d5a13e3f7b4b9a37bf76.tar.xz discoin-f4e0aefadcc9f37611a6d5a13e3f7b4b9a37bf76.zip | |
Do signature-s negation inside the tests
To avoid the need for libsecp256k1 to expose such functionality.
Diffstat (limited to 'src/ecwrapper.h')
| -rw-r--r-- | src/ecwrapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecwrapper.h b/src/ecwrapper.h index 3457ca5f5..a7847d190 100644 --- a/src/ecwrapper.h +++ b/src/ecwrapper.h @@ -28,7 +28,7 @@ public: bool SetPrivKey(const unsigned char* privkey, size_t size, bool fSkipCheck=false); void GetPubKey(std::vector<unsigned char>& pubkey, bool fCompressed); bool SetPubKey(const unsigned char* pubkey, size_t size); - bool Sign(const uint256 &hash, std::vector<unsigned char>& vchSig, bool lowS); + bool Sign(const uint256 &hash, std::vector<unsigned char>& vchSig); bool Verify(const uint256 &hash, const std::vector<unsigned char>& vchSig); bool SignCompact(const uint256 &hash, unsigned char *p64, int &rec); |