| 115 | } |
| 116 | |
| 117 | void towire_simple_htlc(u8 **pptr, const struct simple_htlc *simple) |
| 118 | { |
| 119 | towire_side(pptr, simple->side); |
| 120 | towire_amount_msat(pptr, simple->amount); |
| 121 | towire_sha256(pptr, &simple->payment_hash); |
| 122 | towire_u32(pptr, simple->cltv_expiry); |
| 123 | } |
| 124 | |
| 125 | void towire_fulfilled_htlc(u8 **pptr, const struct fulfilled_htlc *fulfilled) |
| 126 | { |
nothing calls this directly
no test coverage detected