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

@ -67,9 +67,8 @@ func newSwapClient(config *clientConfig) *Client {
func createClientTestContext(t *testing.T,
pendingSwaps []*loopdb.LoopOut) *testContext {
serverMock := newServerMock()
clientLnd := test.NewMockLnd()
serverMock := newServerMock(clientLnd)
store := newStoreMock(t)
for _, s := range pendingSwaps {