| 1551 | } |
| 1552 | |
| 1553 | static void start_commit_timer(struct peer *peer) |
| 1554 | { |
| 1555 | /* Already armed? */ |
| 1556 | if (peer->commit_timer) |
| 1557 | return; |
| 1558 | |
| 1559 | peer->commit_timer = new_reltimer(&peer->timers, peer, |
| 1560 | time_from_msec(peer->commit_msec), |
| 1561 | send_commit_if_not_stfu, peer); |
| 1562 | } |
| 1563 | |
| 1564 | /* Fetch the requested point. The secret is no longer returned, use |
| 1565 | * revoke_commitment instead. It is legal to call this on any |
no test coverage detected