File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
crates/fiber-lib/src/fiber Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff 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.
5858pub 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%.
6162pub const DEFAULT_TLC_FEE_PROPORTIONAL_MILLIONTHS : u128 = 1000 ;
6263
6364/// Whether to automatically announce the node on startup. false means not announcing.
Original file line number Diff line number Diff 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 } )
You can’t perform that action at this time.
0 commit comments