From 0ce8ef7b95c90d5d0a1ce610c459253c4564c6c1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 8 May 2016 13:46:34 -0500 Subject: [PATCH] test --- iguana/iguana_secp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_secp.c b/iguana/iguana_secp.c index d133e7248..9a58472a9 100755 --- a/iguana/iguana_secp.c +++ b/iguana/iguana_secp.c @@ -224,7 +224,7 @@ bits256 bitcoin_schnorr_noncepair(void *ctx,uint8_t *pubnonce,bits256 txhash2,bi pubnonce[0] = 0; SECP_ENSURE_CTX { - if ( secp256k1_schnorr_generate_nonce_pair(ctx,&PUB,privnonce.bytes,txhash2.bytes,privkey.bytes,0,rand256(0).bytes) > 0 ) + if ( secp256k1_schnorr_generate_nonce_pair(ctx,&PUB,privnonce.bytes,txhash2.bytes,privkey.bytes,NULL,NULL) > 0 ) { plen = 33; secp256k1_ec_pubkey_serialize(ctx,pubnonce,&plen,&PUB,SECP256K1_EC_COMPRESSED);