mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-03 02:34:14 +00:00
Init ECC context for test_bitcoin_fuzzy.
This avoids calling things like pubkey_parse with a null context argument.
This commit is contained in:
parent
7821db30e1
commit
ac719c936d
@ -18,6 +18,7 @@
|
|||||||
#include "streams.h"
|
#include "streams.h"
|
||||||
#include "undo.h"
|
#include "undo.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
#include "pubkey.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -60,6 +61,7 @@ bool read_stdin(std::vector<char> &data) {
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
ECCVerifyHandle globalVerifyHandle;
|
||||||
std::vector<char> buffer;
|
std::vector<char> buffer;
|
||||||
if (!read_stdin(buffer)) return 0;
|
if (!read_stdin(buffer)) return 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user