loopin: mpp pre-swap probe

This commit is contained in:
Joost Jager 2020-05-29 11:27:47 +02:00
parent 456a29c523
commit c8666caf20
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
12 changed files with 255 additions and 105 deletions

View file

@ -27,7 +27,7 @@ func TestLoopOutPaymentParameters(t *testing.T) {
// Set up test context objects.
lnd := test.NewMockLnd()
ctx := test.NewContext(t, lnd)
server := newServerMock()
server := newServerMock(lnd)
store := newStoreMock(t)
expiryChan := make(chan time.Time)
@ -138,7 +138,7 @@ func TestLateHtlcPublish(t *testing.T) {
ctx := test.NewContext(t, lnd)
server := newServerMock()
server := newServerMock(lnd)
store := newStoreMock(t)
@ -223,7 +223,7 @@ func TestCustomSweepConfTarget(t *testing.T) {
lnd := test.NewMockLnd()
ctx := test.NewContext(t, lnd)
server := newServerMock()
server := newServerMock(lnd)
// Use the highest sweep confirmation target before we attempt to use
// the default.
@ -424,7 +424,7 @@ func TestPreimagePush(t *testing.T) {
lnd := test.NewMockLnd()
ctx := test.NewContext(t, lnd)
server := newServerMock()
server := newServerMock(lnd)
// Start with a high confirmation delta which will have a very high fee
// attached to it.