Skip to content

Commit

Permalink
tests: Fix nodemanager tests error
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed Nov 26, 2024
1 parent 2ea3a6f commit 9d569bd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion mutiny-core/src/nodemanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2243,6 +2243,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::Anonymous,
fees_paid: None,
fee_paid_msat: None,
inbound: true,
labels: labels.clone(),
last_updated: 1681781585,
Expand Down Expand Up @@ -2281,7 +2282,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::Anonymous,
amt_msat: MillisatAmount(Some(100_000)),
fee_paid_msat: Some(1_000),
fee_paid_msat: Some(1_020),
bolt11: None,
payee_pubkey: Some(pubkey),
last_update: 1681781585,
Expand All @@ -2298,6 +2299,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::Anonymous,
fees_paid: Some(1),
fee_paid_msat: Some(1020),
inbound: false,
labels: vec![],
last_updated: 1681781585,
Expand Down Expand Up @@ -2400,6 +2402,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::NotAvailable,
fees_paid: Some(1),
fee_paid_msat: Some(1024),
inbound: false,
labels: vec![],
last_updated: 1681781585,
Expand All @@ -2416,6 +2419,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::NotAvailable,
fees_paid: Some(1),
fee_paid_msat: Some(1024),
inbound: false,
labels: vec![],
last_updated: 1781781585,
Expand All @@ -2432,6 +2436,7 @@ mod tests {
status: HTLCStatus::InFlight,
privacy_level: PrivacyLevel::NotAvailable,
fees_paid: None,
fee_paid_msat: None,
inbound: false,
labels: vec![],
last_updated: 1581781585,
Expand All @@ -2448,6 +2453,7 @@ mod tests {
status: HTLCStatus::InFlight,
privacy_level: PrivacyLevel::NotAvailable,
fees_paid: None,
fee_paid_msat: None,
inbound: false,
labels: vec![],
last_updated: 1581781585,
Expand All @@ -2464,6 +2470,7 @@ mod tests {
status: HTLCStatus::Succeeded,
privacy_level: PrivacyLevel::NotAvailable,
fees_paid: Some(1),
fee_paid_msat: Some(1024),
inbound: false,
labels: vec![],
last_updated: 1781781585,
Expand Down

0 comments on commit 9d569bd

Please sign in to comment.