mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
swap: add constructor for swap config
This commit is contained in:
parent
9571371153
commit
2ebbc78131
4 changed files with 22 additions and 41 deletions
10
swap.go
10
swap.go
|
|
@ -82,3 +82,13 @@ type swapConfig struct {
|
|||
store loopdb.SwapStore
|
||||
server swapServerClient
|
||||
}
|
||||
|
||||
func newSwapConfig(lnd *lndclient.LndServices, store loopdb.SwapStore,
|
||||
server swapServerClient) *swapConfig {
|
||||
|
||||
return &swapConfig{
|
||||
lnd: lnd,
|
||||
store: store,
|
||||
server: server,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue