mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
test: refresh route hint preservation comments
lndclient now forwards route hints through AddInvoice. These tests assert that Loop preserves explicit hints on generated loop-in invoices. Remove stale comments that described the old wrapper behavior as dropping hints.
This commit is contained in:
parent
2d446b3b9e
commit
950b5f1772
2 changed files with 3 additions and 4 deletions
|
|
@ -127,9 +127,8 @@ func TestLoopInSuccess(t *testing.T) {
|
|||
}
|
||||
|
||||
// TestLoopInSwapInvoiceRouteHintsMatchProbe asserts that explicit route hints
|
||||
// are preserved on both loop-in invoices. The probe invoice already keeps the
|
||||
// requested hints, while the swap invoice currently loses them via the
|
||||
// lndclient AddInvoice wrapper.
|
||||
// are preserved on both loop-in invoices so the swap invoice matches the probe
|
||||
// invoice.
|
||||
func TestLoopInSwapInvoiceRouteHintsMatchProbe(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ func TestMonitorInvoiceAndHtlcTxReRegistersOnConfErr(t *testing.T) {
|
|||
|
||||
// TestInitHtlcActionPreservesRouteHints asserts that static-address loop-in
|
||||
// propagates explicit route hints into the encoded swap invoice sent to the
|
||||
// server. This currently fails because lndclient.AddInvoice drops route hints.
|
||||
// server.
|
||||
func TestInitHtlcActionPreservesRouteHints(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue