| 226 | } |
| 227 | |
| 228 | static void record_external_spend(const struct bitcoin_txid *txid, |
| 229 | struct tracked_output *out, |
| 230 | u32 blockheight, |
| 231 | enum mvt_tag tag) |
| 232 | { |
| 233 | send_coin_mvt(take(new_coin_external_spend(NULL, &out->outpoint, |
| 234 | txid, blockheight, |
| 235 | out->sat, tag))); |
| 236 | } |
| 237 | |
| 238 | static void record_external_spend_tags(const struct bitcoin_txid *txid, |
| 239 | struct tracked_output *out, |
no test coverage detected