| 1211 | } |
| 1212 | |
| 1213 | static bool bitcoin_tx_eq(const struct bitcoin_tx *tx1, |
| 1214 | const struct bitcoin_tx *tx2) |
| 1215 | { |
| 1216 | u8 *lin1, *lin2; |
| 1217 | bool eq; |
| 1218 | lin1 = linearize_tx(NULL, tx1); |
| 1219 | lin2 = linearize_tx(lin1, tx2); |
| 1220 | eq = memeq(lin1, tal_count(lin1), lin2, tal_count(lin2)); |
| 1221 | tal_free(lin1); |
| 1222 | return eq; |
| 1223 | } |
| 1224 | |
| 1225 | static bool channel_inflightseq(struct channel_inflight *i1, |
| 1226 | struct channel_inflight *i2) |
no test coverage detected