mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-04 05:34:22 +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:
@@ -436,6 +436,9 @@ int main(int argc, char *argv[])
|
||||
exit(0);
|
||||
}
|
||||
|
||||
secp256k1_ctx = secp256k1_context_create(SECP256K1_CONTEXT_VERIFY |
|
||||
SECP256K1_CONTEXT_SIGN);
|
||||
|
||||
daemon = tal(NULL, struct daemon);
|
||||
log_book = new_log_book(daemon, 2 * 1024 * 1024, LOG_INFORM);
|
||||
base_log =
|
||||
|
||||
Reference in New Issue
Block a user