mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
gossip: Initialize the secp256k1_context
We will be doing signature verifications and creation so we better have the context to do so.
This commit is contained in:
parent
ab4f1f0550
commit
0596a6cc2c
@ -436,6 +436,9 @@ int main(int argc, char *argv[])
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY |
|
||||||
|
SECP256K1_CONTEXT_SIGN);
|
||||||
|
|
||||||
daemon = tal(NULL, struct daemon);
|
daemon = tal(NULL, struct daemon);
|
||||||
log_book = new_log_book(daemon, 2 * 1024 * 1024, LOG_INFORM);
|
log_book = new_log_book(daemon, 2 * 1024 * 1024, LOG_INFORM);
|
||||||
base_log =
|
base_log =
|
||||||
|
Loading…
Reference in New Issue
Block a user