From a3ef71b182081c22188a09ea9774d92d18fef761 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Mon, 18 Nov 2019 11:17:49 -0600 Subject: [PATCH] devtools: fixup chainparams crash (global now) --- devtools/mkfunding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/mkfunding.c b/devtools/mkfunding.c index c525f8edc..dcc37a425 100644 --- a/devtools/mkfunding.c +++ b/devtools/mkfunding.c @@ -52,10 +52,10 @@ int main(int argc, char *argv[]) const struct utxo **utxomap; struct bitcoin_signature sig; struct bitcoin_txid txid; - const struct chainparams *chainparams = chainparams_for_network("bitcoin"); u8 **witnesses; setup_locale(); + chainparams = chainparams_for_network("bitcoin"); secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY | SECP256K1_CONTEXT_SIGN);