| 276 | } |
| 277 | |
| 278 | static void resolve_omitted(struct sha256 *hash, struct checker *checker) |
| 279 | { |
| 280 | if (checker->missing_hashes_n >= tal_count(checker->pptlv->proof_missing_hashes)) { |
| 281 | checker->missing_hashes_exhausted = true; |
| 282 | *hash = dummy_hash(); |
| 283 | } else { |
| 284 | *hash = checker->pptlv->proof_missing_hashes[checker->missing_hashes_n++]; |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | static bool find_tlv_num(const struct tlv_payer_proof *pptlv, bigsize_t num) |
| 289 | { |
no test coverage detected