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

Function bitcoin_tx_eq

wallet/test/run-wallet.c:1205–1215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1203}
1204
1205static bool bitcoin_tx_eq(const struct bitcoin_tx *tx1,
1206 const struct bitcoin_tx *tx2)
1207{
1208 u8 *lin1, *lin2;
1209 bool eq;
1210 lin1 = linearize_tx(NULL, tx1);
1211 lin2 = linearize_tx(lin1, tx2);
1212 eq = tal_arr_eq(lin1, lin2);
1213 tal_free(lin1);
1214 return eq;
1215}
1216
1217static bool channel_inflightseq(struct channel_inflight *i1,
1218 struct channel_inflight *i2)

Callers 2

channel_inflightseqFunction · 0.85
channelseqFunction · 0.85

Calls 2

linearize_txFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected