mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
pubkey: don't carry around DER encoding.
We just wrap the libsecp256k1 structure, and convert to DER on demand. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -12,6 +12,7 @@ struct rel_locktime;
|
||||
/* Create commitment tx to spend the anchor tx output; doesn't fill in
|
||||
* input scriptsig. */
|
||||
struct bitcoin_tx *create_commit_tx(const tal_t *ctx,
|
||||
secp256k1_context *secpctx,
|
||||
const struct pubkey *our_final,
|
||||
const struct pubkey *their_final,
|
||||
const struct rel_locktime *our_locktime,
|
||||
|
||||
Reference in New Issue
Block a user