mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: consume and log sever state updates
This commit is contained in:
parent
a6539b6adb
commit
cd2b08aec6
8 changed files with 819 additions and 65 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue