Shuffle them over, forgetting the ancient one. */
| 2546 | |
| 2547 | /* Shuffle them over, forgetting the ancient one. */ |
| 2548 | void update_per_commit_point(struct channel *channel, |
| 2549 | const struct pubkey *per_commitment_point) |
| 2550 | { |
| 2551 | struct channel_info *ci = &channel->channel_info; |
| 2552 | ci->old_remote_per_commit = ci->remote_per_commit; |
| 2553 | ci->remote_per_commit = *per_commitment_point; |
| 2554 | } |
| 2555 | |
| 2556 | struct commitment_revocation_payload { |
| 2557 | struct bitcoin_txid commitment_txid; |
no outgoing calls
no test coverage detected