Skip to content

Commit d72f828

Browse files
committed
f - Make Payee fields private
1 parent b728b88 commit d72f828

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/router.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ impl Readable for Route {
132132
/// The recipient of a payment.
133133
pub struct Payee {
134134
/// The identifier of the payee.
135-
pub pubkey: PublicKey,
135+
pubkey: PublicKey,
136136

137137
/// Features from the payee's invoice.
138-
pub features: Option<InvoiceFeatures>,
138+
features: Option<InvoiceFeatures>,
139139

140140
/// Hints for routing to the payee.
141-
pub route_hints: Vec<RouteHint>,
141+
route_hints: Vec<RouteHint>,
142142
}
143143

144144
impl Payee {

0 commit comments

Comments
 (0)