config: default autopilot min confs to 1

This prevents spending unconfirmed funds by default. Users will have to
explicitly set this to 0 in order to do so.
This commit is contained in:
Wilmer Paulino 2019-07-24 11:59:28 -07:00
parent 2058aed436
commit eb8576aa8d
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -391,6 +391,7 @@ func loadConfig() (*config, error) {
Allocation: 0.6,
MinChannelSize: int64(minChanFundingSize),
MaxChannelSize: int64(MaxFundingAmount),
MinConfs: 1,
ConfTarget: autopilot.DefaultConfTarget,
Heuristic: map[string]float64{
"preferential": 1.0,