fix add hop hint calls

This commit is contained in:
Jesse de Wit
2023-10-27 14:35:04 +02:00
parent e693045594
commit f6af1e5442
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ func testOfflineNotificationRegularForward(p *testParams) {
} else { } else {
id = chans[0].ShortChannelID id = chans[0].ShortChannelID
} }
invoiceWithHint = AddHopHint(p.BreezClient(), bobInvoice.Bolt11, p.Lsp(), id, nil) invoiceWithHint = AddHopHint(p.BreezClient(), bobInvoice.Bolt11, p.Lsp(), id, nil, 144)
} }
log.Printf("invoice with hint: %v", invoiceWithHint) log.Printf("invoice with hint: %v", invoiceWithHint)

View File

@@ -58,7 +58,7 @@ func testRegularForward(p *testParams) {
} else { } else {
id = chans[0].ShortChannelID id = chans[0].ShortChannelID
} }
invoiceWithHint = AddHopHint(p.BreezClient(), bobInvoice.Bolt11, p.Lsp(), id, nil) invoiceWithHint = AddHopHint(p.BreezClient(), bobInvoice.Bolt11, p.Lsp(), id, nil, 144)
} }
log.Printf("invoice with hint: %v", invoiceWithHint) log.Printf("invoice with hint: %v", invoiceWithHint)