mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
devtools: fixup chainparams crash (global now)
This commit is contained in:
parent
c5e79432e6
commit
a3ef71b182
@ -52,10 +52,10 @@ int main(int argc, char *argv[])
|
|||||||
const struct utxo **utxomap;
|
const struct utxo **utxomap;
|
||||||
struct bitcoin_signature sig;
|
struct bitcoin_signature sig;
|
||||||
struct bitcoin_txid txid;
|
struct bitcoin_txid txid;
|
||||||
const struct chainparams *chainparams = chainparams_for_network("bitcoin");
|
|
||||||
u8 **witnesses;
|
u8 **witnesses;
|
||||||
|
|
||||||
setup_locale();
|
setup_locale();
|
||||||
|
chainparams = chainparams_for_network("bitcoin");
|
||||||
|
|
||||||
secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY |
|
secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY |
|
||||||
SECP256K1_CONTEXT_SIGN);
|
SECP256K1_CONTEXT_SIGN);
|
||||||
|
Loading…
Reference in New Issue
Block a user