projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca10349
)
Make `Payee::pubkey` pub.
author
Matt Corallo
<git@bluematt.me>
Mon, 25 Oct 2021 17:52:30 +0000
(17:52 +0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 25 Oct 2021 17:58:18 +0000
(17:58 +0000)
`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
patch
|
blob
|
history
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 4d1deb61d2520e57608a7bea52c43c628d848950..099661bb7f7347429534cfd86903950a2df10550 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-156,7
+156,7
@@
impl_writeable_tlv_based!(PaymentPathRetry, {
#[derive(Clone, Debug)]
pub struct Payee {
/// The node id of the payee.
- pubkey: PublicKey,
+ pub
pub
key: PublicKey,
/// Features supported by the payee.
///