(amount_msat: u64, extra_tlvs: TlvStream)
| 302 | } |
| 303 | |
| 304 | fn test_htlc(amount_msat: u64, extra_tlvs: TlvStream) -> Htlc { |
| 305 | Htlc { |
| 306 | amount_msat: Msat::from_msat(amount_msat), |
| 307 | extra_tlvs, |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | #[derive(Default, Clone)] |
| 312 | struct MockApi { |
no outgoing calls
no test coverage detected