multi: consume and log sever state updates

This commit is contained in:
carla 2020-07-16 12:01:02 +02:00
parent a6539b6adb
commit cd2b08aec6
No known key found for this signature in database
GPG key ID: 4CA7FE54A6213C91
8 changed files with 819 additions and 65 deletions

View file

@ -182,3 +182,18 @@ func (s *serverMock) GetLoopInQuote(ctx context.Context, amt btcutil.Amount) (
CltvDelta: testChargeOnChainCltvDelta,
}, nil
}
// SubscribeLoopOutUpdates provides a mocked implementation of state
// subscriptions.
func (s *serverMock) SubscribeLoopOutUpdates(_ context.Context,
_ lntypes.Hash) (<-chan *ServerUpdate, <-chan error, error) {
return nil, nil, nil
}
// SubscribeLoopInUpdates provides a mocked implementation of state subscriptions.
func (s *serverMock) SubscribeLoopInUpdates(_ context.Context,
_ lntypes.Hash) (<-chan *ServerUpdate, <-chan error, error) {
return nil, nil, nil
}