]> git.bitcoin.ninja Git - rust-lightning/commit
Make `Payee::pubkey` pub.
authorMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 17:52:30 +0000 (17:52 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 17:58:18 +0000 (17:58 +0000)
commit87da91042ed8e6c51ae61173ba375f29af8804f5
tree086887982e3e2e63289a14f19dfa2edbc636227e
parentca103491eb2d1ed0ce25e8b46b194898d38a5ab5
Make `Payee::pubkey` pub.

`Payee` is expected to be used by users to get routes for payment
retries, potentially with their own router. Thus, its helpful if it
is pub, even if it is redundant with the last hop in the `path`
field in `Events::PaymentPathFailed`.
lightning/src/routing/router.rs