multi: fix linter issues

This commit is contained in:
sputn1ck 2022-05-20 08:57:06 +02:00
parent f0bf9302cc
commit a1271fee40
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
18 changed files with 10 additions and 21 deletions

View file

@ -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
}
}

View file

@ -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