mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
signature: wrap almost all signatures in struct bitcoin_signature.
This is prep work for when we sign htlc txs with SIGHASH_SINGLE|SIGHASH_ANYONECANPAY. We still deal with raw signatures for the htlc txs at the moment, since we send them like that across the wire, and changing that was simply too painful (for the moment?). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
bbc4a599dc
commit
dffe2f516a
@@ -69,7 +69,7 @@ static bool better_closing_fee(struct lightningd *ld,
|
||||
static void peer_received_closing_signature(struct channel *channel,
|
||||
const u8 *msg)
|
||||
{
|
||||
secp256k1_ecdsa_signature sig;
|
||||
struct bitcoin_signature sig;
|
||||
struct bitcoin_tx *tx;
|
||||
struct lightningd *ld = channel->peer->ld;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user