| 21 | } |
| 22 | |
| 23 | void notify_chain_mvt(struct lightningd *ld, const struct chain_coin_mvt *mvt) |
| 24 | { |
| 25 | const struct coin_mvt *cm; |
| 26 | u32 timestamp; |
| 27 | |
| 28 | timestamp = time_now().ts.tv_sec; |
| 29 | cm = finalize_chain_mvt(mvt, mvt, chainparams->onchain_hrp, |
| 30 | timestamp, &ld->id); |
| 31 | notify_coin_mvt(ld, cm); |
| 32 | } |
| 33 | |
| 34 | struct channel_coin_mvt *new_channel_mvt_invoice_hin(const tal_t *ctx, |
| 35 | struct htlc_in *hin, |
no test coverage detected