| 1633 | } |
| 1634 | |
| 1635 | static void start_commit_timer(struct peer *peer) |
| 1636 | { |
| 1637 | /* Already armed? */ |
| 1638 | if (peer->commit_timer) |
| 1639 | return; |
| 1640 | |
| 1641 | peer->commit_timer = new_reltimer(&peer->timers, peer, |
| 1642 | time_from_msec(peer->commit_msec), |
| 1643 | send_commit_if_not_stfu, peer); |
| 1644 | } |
| 1645 | |
| 1646 | /* Fetch the requested point. The secret is no longer returned, use |
| 1647 | * revoke_commitment instead. It is legal to call this on any |
no test coverage detected