| 27 | } |
| 28 | |
| 29 | static bool wrong_funding_equal(const struct tlv_shutdown_tlvs_wrong_funding *x, |
| 30 | const struct tlv_shutdown_tlvs_wrong_funding *y) |
| 31 | { |
| 32 | if (!x && !y) |
| 33 | return true; |
| 34 | if (!x || !y) |
| 35 | return false; |
| 36 | |
| 37 | return bitcoin_txid_eq(&x->txid, &y->txid) && x->outnum == y->outnum; |
| 38 | } |
| 39 | |
| 40 | static bool equal(const struct shutdown *x, const struct shutdown *y) |
| 41 | { |