mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
test: remove unused PayInvoice mock path
Loop no longer pays invoices through LightningClient.PayInvoice. Production payment paths use the router client wrappers. lndclient now also implements PayInvoice on top of router payment APIs, so the old SendPaymentChannel mock path is no longer exercised. Remove the dead PayInvoice mock, its SendPaymentChannel plumbing, and the loop-in resume assertion that watched that channel.
This commit is contained in:
parent
cfe9e401c4
commit
2d446b3b9e
3 changed files with 0 additions and 35 deletions
|
|
@ -655,12 +655,6 @@ func testLoopInResume(t *testing.T, state loopdb.SwapState, expired bool,
|
|||
defer func() {
|
||||
require.NoError(t, <-errChan)
|
||||
|
||||
select {
|
||||
case <-ctx.lnd.SendPaymentChannel:
|
||||
t.Fatal("unexpected payment sent")
|
||||
default:
|
||||
}
|
||||
|
||||
select {
|
||||
case <-ctx.lnd.SendOutputsChannel:
|
||||
t.Fatal("unexpected tx published")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue