Correct bogus references to `revocation_point` in `ChannelMonitor` 2022-05-mon-cleanups-renames
authorMatt Corallo <git@bluematt.me>
Tue, 24 May 2022 22:02:15 +0000 (22:02 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 26 May 2022 00:50:30 +0000 (00:50 +0000)
commitd443b79743abdac986d32bde376c953e33a86ace
tree9ab81221224012c9ba186949c02e19c10cb088e4
parent78c3080537a0ed54bc3b105790b046f938379a2f
Correct bogus references to `revocation_point` in `ChannelMonitor`

The `ChannelMonitor` had a field for the counterparty's
`cur_revocation_points`. Somewhat confusingly, this actually stored
the counterparty's *per-commitment* points, not the (derived)
revocation points.

Here we correct this by simply renaming the references as
appropriate. Note the update in `channel.rs` makes the variable
names align correctly.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channel.rs