mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-18 22:34:22 +01:00
fix add hop hint calls
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user