lnd: use cfg.Bitcoin.DefaultNumChanConfs

This commit is contained in:
Johan T. Halseth 2017-12-20 16:17:51 +01:00
parent 0815bd4eb0
commit 4ee3bff771
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

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