Skip to content

Commit 87da910

Browse files
committed
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`.
1 parent ca10349 commit 87da910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl_writeable_tlv_based!(PaymentPathRetry, {
156156
#[derive(Clone, Debug)]
157157
pub struct Payee {
158158
/// The node id of the payee.
159-
pubkey: PublicKey,
159+
pub pubkey: PublicKey,
160160

161161
/// Features supported by the payee.
162162
///

0 commit comments

Comments
 (0)