Skip to content

Commit

Permalink
Fix field unit naming (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
dleutenegger authored Nov 27, 2023
1 parent 2c24e27 commit 3797a64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parrot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub enum AnalyticsEvent {
RequestSucceeded {
payment_hash: String,

paid_amount_sat: u64,
paid_amount_msat: u64,
channel_opening_fee_msat: u64,

received_at: SystemTime,
Expand Down Expand Up @@ -173,7 +173,7 @@ impl AnalyticsClient {
},
AnalyticsEvent::RequestSucceeded {
payment_hash,
paid_amount_sat,
paid_amount_msat,
channel_opening_fee_msat,
received_at,
} => report_payment_telemetry::Variables {
Expand All @@ -185,7 +185,7 @@ impl AnalyticsClient {
request_initiated: None,
request_succeeded: Some(RequestSucceededInput {
channel_opening_fee_m_sat: channel_opening_fee_msat,
paid_amount_m_sat: paid_amount_sat,
paid_amount_m_sat: paid_amount_msat,
payment_hash,
payment_received_at: received_at.to_rfc3339(),
}),
Expand Down

0 comments on commit 3797a64

Please sign in to comment.