diff options
| author | Pieter Wuille <[email protected]> | 2015-07-28 20:11:20 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-11-15 16:06:57 +0100 |
| commit | 6e182686163ce3c15b878bd78c41d8d18db344f1 (patch) | |
| tree | d4e0997b1459def528557d640a480937ffc207fd /src/bitcoin-tx.cpp | |
| parent | Merge pull request #6993 (diff) | |
| download | discoin-6e182686163ce3c15b878bd78c41d8d18db344f1.tar.xz discoin-6e182686163ce3c15b878bd78c41d8d18db344f1.zip | |
Switch to libsecp256k1-based validation for ECDSA
Diffstat (limited to 'src/bitcoin-tx.cpp')
| -rw-r--r-- | src/bitcoin-tx.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 48033cd8a..9f8b2b98a 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -477,9 +477,15 @@ static void MutateTxSign(CMutableTransaction& tx, const string& flagStr) class Secp256k1Init { + ECCVerifyHandle globalVerifyHandle; + public: - Secp256k1Init() { ECC_Start(); } - ~Secp256k1Init() { ECC_Stop(); } + Secp256k1Init() { + ECC_Start(); + } + ~Secp256k1Init() { + ECC_Stop(); + } }; static void MutateTx(CMutableTransaction& tx, const string& command, |