If UTXO reaches this block, ignore it (it's not for us, it's ok!) */
| 688 | |
| 689 | /* If UTXO reaches this block, ignore it (it's not for us, it's ok!) */ |
| 690 | static void propose_ignore(struct tracked_output *out, |
| 691 | unsigned int block_required, |
| 692 | enum tx_type tx_type) |
| 693 | { |
| 694 | status_debug("Propose ignoring %s/%s as %s" |
| 695 | " after block %u (%i more blocks)", |
| 696 | tx_type_name(out->tx_type), |
| 697 | output_type_name(out->output_type), |
| 698 | tx_type_name(tx_type), |
| 699 | block_required, |
| 700 | block_required - out->tx_blockheight); |
| 701 | |
| 702 | /* If it's already passed, don't underflow. */ |
| 703 | if (block_required < out->tx_blockheight) |
| 704 | block_required = out->tx_blockheight; |
| 705 | |
| 706 | out->proposal = new_proposed_resolution(out, block_required, tx_type); |
| 707 | out->proposal->welements = NULL; |
| 708 | |
| 709 | /* Can we immediately ignore? */ |
| 710 | if (out->proposal->depth_required == 0) |
| 711 | ignore_output(out); |
| 712 | } |
| 713 | |
| 714 | /* Do any of these tx_parts spend this outpoint? If so, return it */ |
| 715 | static const struct wally_tx_input * |
no test coverage detected