If we're the finder, it's like an HTLC we added, if they are, it's like * a HTLC they added. */
| 9 | /* If we're the finder, it's like an HTLC we added, if they are, it's like |
| 10 | * a HTLC they added. */ |
| 11 | enum htlc_state first_fee_state(enum side opener) |
| 12 | { |
| 13 | if (opener == LOCAL) |
| 14 | return SENT_ADD_HTLC; |
| 15 | else |
| 16 | return RCVD_ADD_HTLC; |
| 17 | } |
| 18 | |
| 19 | enum htlc_state last_fee_state(enum side opener) |
| 20 | { |
no outgoing calls
no test coverage detected