]> git.bitcoin.ninja Git - rust-lightning/commit
Don't persist commitment point/secret
authorChris Waterson <waterson@gmail.com>
Fri, 20 Oct 2023 15:52:01 +0000 (08:52 -0700)
committerChris Waterson <waterson@gmail.com>
Wed, 25 Oct 2023 16:41:53 +0000 (09:41 -0700)
commitec3baf9afbc7bc01fe71228d2e815df7fa3d9998
tree369c8f32a7643d1cc5ae0fb474e13dcf12fa7c0c
parent43d2a40b5d61fd207fa9a47f2e62b5a09fedacd1
Don't persist commitment point/secret

Turns out we don't have to persist the point or secret if we just call
`update_holder_per_commitment` after we read the channel.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs