mirror of https://github.com/BTCPrivate/lnd.git
lnd: use cfg.Bitcoin.DefaultNumChanConfs
This commit is contained in:
parent
0815bd4eb0
commit
4ee3bff771
2
lnd.go
2
lnd.go
|
@ -302,7 +302,7 @@ func lndMain() error {
|
|||
// TODO(roasbeef): add configurable mapping
|
||||
// * simple switch initially
|
||||
// * assign coefficient, etc
|
||||
return uint16(cfg.DefaultNumChanConfs)
|
||||
return uint16(cfg.Bitcoin.DefaultNumChanConfs)
|
||||
},
|
||||
RequiredRemoteDelay: func(chanAmt btcutil.Amount) uint16 {
|
||||
// TODO(roasbeef): add additional hooks for
|
||||
|
|
Loading…
Reference in New Issue