Shuffle them over, forgetting the ancient one. */
| 2642 | |
| 2643 | /* Shuffle them over, forgetting the ancient one. */ |
| 2644 | void update_per_commit_point(struct channel *channel, |
| 2645 | const struct pubkey *per_commitment_point) |
| 2646 | { |
| 2647 | struct channel_info *ci = &channel->channel_info; |
| 2648 | ci->old_remote_per_commit = ci->remote_per_commit; |
| 2649 | ci->remote_per_commit = *per_commitment_point; |
| 2650 | } |
| 2651 | |
| 2652 | struct commitment_revocation_payload { |
| 2653 | struct bitcoin_txid commitment_txid; |
no outgoing calls
no test coverage detected