Skip to content

Commit 57248d0

Browse files
committed
Merge branch 'develop' into quake/oneway-channel
2 parents df56818 + 1ae51d1 commit 57248d0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/fiber-lib/src/fiber/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ pub const MAX_PAYMENT_TLC_EXPIRY_LIMIT: u64 = 14 * 24 * 60 * 60 * 1000; // 2 wee
5757
/// The minimal value of a tlc. 0 means no minimal value.
5858
pub const DEFAULT_TLC_MIN_VALUE: u128 = 0;
5959

60-
/// The fee for forwarding peer tlcs. Proportional to the amount of the forwarded tlc. The unit is millionths of the amount. 1000 means 0.1%.
60+
/// The fee for forwarding peer tlcs. Proportional to the amount of the forwarded tlc.
61+
/// The unit is millionths of the amount. 1000 means 0.1%.
6162
pub const DEFAULT_TLC_FEE_PROPORTIONAL_MILLIONTHS: u128 = 1000;
6263

6364
/// Whether to automatically announce the node on startup. false means not announcing.

crates/fiber-lib/src/fiber/tests/payment.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ async fn test_send_payment_with_normal_invoice_workflow() {
647647
.gen_invoice(NewInvoiceParams {
648648
amount: 1000,
649649
description: Some("test invoice".to_string()),
650+
final_expiry_delta: Some(DEFAULT_FINAL_TLC_EXPIRY_DELTA),
650651
expiry: None,
651652
..Default::default()
652653
})

0 commit comments

Comments
 (0)