| 228 | } |
| 229 | |
| 230 | static void record_external_spend(const struct bitcoin_txid *txid, |
| 231 | struct tracked_output *out, |
| 232 | u32 blockheight, |
| 233 | struct mvt_tags tags) |
| 234 | { |
| 235 | send_coin_mvt(take(new_coin_external_spend(NULL, &out->outpoint, |
| 236 | txid, blockheight, |
| 237 | out->sat, tags))); |
| 238 | } |
| 239 | |
| 240 | static void record_external_output(const struct bitcoin_outpoint *out, |
| 241 | struct amount_sat amount, |
no test coverage detected