]> git.bitcoin.ninja Git - rust-lightning/commit
Drop `PaymentContext` from `OnionPayload` as its not needed
authorMatt Corallo <git@bluematt.me>
Thu, 25 Apr 2024 20:37:30 +0000 (20:37 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 25 Apr 2024 20:39:37 +0000 (20:39 +0000)
commit98398fe4e481b1b57e5d62741d5c5882a12ca7be
treeb6002f2dfa5f977fb58cfaffa2e95456c71bf91e
parentdfb250b976eb9ad9e93f0c3f543ad88b76924d42
Drop `PaymentContext` from `OnionPayload` as its not needed

This saves some space on disk and a bit of space in memory, but
also avoids some unnecessary `clone`s. As this was added since the
last release there is no need for backwards compat handling.
lightning/src/ln/channelmanager.rs