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

Function is_local_commitment

onchaind/onchaind.c:934–938  ·  view source on GitHub ↗

We only ever send out one, so matching it is easy. */

Source from the content-addressed store, hash-verified

932
933/* We only ever send out one, so matching it is easy. */
934static bool is_local_commitment(const struct bitcoin_txid *txid,
935 const struct bitcoin_txid *our_broadcast_txid)
936{
937 return bitcoin_txid_eq(txid, our_broadcast_txid);
938}
939
940/* BOLT #5:
941 *

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected