mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 06:57:53 +01:00
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`.
This commit is contained in:
parent
ca103491eb
commit
87da91042e
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ impl_writeable_tlv_based!(PaymentPathRetry, {
|
|||
#[derive(Clone, Debug)]
|
||||
pub struct Payee {
|
||||
/// The node id of the payee.
|
||||
pubkey: PublicKey,
|
||||
pub pubkey: PublicKey,
|
||||
|
||||
/// Features supported by the payee.
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue