mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: fix linter issues
This commit is contained in:
parent
f0bf9302cc
commit
a1271fee40
18 changed files with 10 additions and 21 deletions
|
|
@ -103,6 +103,7 @@ func NewListenerConfig(config *Config, rpcCfg RPCConfig) *ListenerCfg {
|
|||
if rpcCfg.LndConn != nil {
|
||||
svcCfg.Dialer = func(context.Context, string) (
|
||||
net.Conn, error) {
|
||||
|
||||
return rpcCfg.LndConn, nil
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -936,7 +936,6 @@ func rpcToRule(rule *clientrpc.LiquidityRule) (*liquidity.SwapRule, error) {
|
|||
default:
|
||||
return nil, fmt.Errorf("unknown rule: %T", rule)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// SuggestSwaps provides a list of suggested swaps based on lnd's current
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue