Shuffle them over, forgetting the ancient one. */
| 2265 | |
| 2266 | /* Shuffle them over, forgetting the ancient one. */ |
| 2267 | void update_per_commit_point(struct channel *channel, |
| 2268 | const struct pubkey *per_commitment_point) |
| 2269 | { |
| 2270 | struct channel_info *ci = &channel->channel_info; |
| 2271 | ci->old_remote_per_commit = ci->remote_per_commit; |
| 2272 | ci->remote_per_commit = *per_commitment_point; |
| 2273 | } |
| 2274 | |
| 2275 | struct commitment_revocation_payload { |
| 2276 | struct bitcoin_txid commitment_txid; |
no outgoing calls
no test coverage detected