mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-21 07:44:22 +01:00
add a test for dynamic fees
This commit is contained in:
@@ -23,7 +23,7 @@ func testFailureBobOffline(p *testParams) {
|
||||
|
||||
log.Printf("Adding bob's invoices")
|
||||
outerAmountMsat := uint64(2100000)
|
||||
innerAmountMsat := calculateInnerAmountMsat(p.lsp, outerAmountMsat)
|
||||
innerAmountMsat := calculateInnerAmountMsat(p.lsp, outerAmountMsat, nil)
|
||||
description := "Please pay me"
|
||||
innerInvoice, outerInvoice := GenerateInvoices(p.BreezClient(),
|
||||
generateInvoicesRequest{
|
||||
@@ -44,7 +44,7 @@ func testFailureBobOffline(p *testParams) {
|
||||
Destination: p.BreezClient().Node().NodeId(),
|
||||
IncomingAmountMsat: int64(outerAmountMsat),
|
||||
OutgoingAmountMsat: int64(innerAmountMsat),
|
||||
})
|
||||
}, false)
|
||||
|
||||
// Kill the mobile client
|
||||
log.Printf("Stopping breez client")
|
||||
|
||||
Reference in New Issue
Block a user