MCPcopy Create free account
hub / github.com/ElementsProject/lightning / raw_sigs

Function raw_sigs

channeld/channeld.c:1077–1086  ·  view source on GitHub ↗

Peer protocol doesn't want sighash flags. */

Source from the content-addressed store, hash-verified

1075
1076/* Peer protocol doesn't want sighash flags. */
1077static secp256k1_ecdsa_signature *raw_sigs(const tal_t *ctx,
1078 const struct bitcoin_signature *sigs)
1079{
1080 secp256k1_ecdsa_signature *raw;
1081
1082 raw = tal_arr(ctx, secp256k1_ecdsa_signature, tal_count(sigs));
1083 for (size_t i = 0; i < tal_count(sigs); i++)
1084 raw[i] = sigs[i].s;
1085 return raw;
1086}
1087
1088static struct bitcoin_signature *unraw_sigs(const tal_t *ctx,
1089 const secp256k1_ecdsa_signature *raw,

Callers 1

send_commit_partFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected