Merge pull request #3342 from wpaulino/autopilot-default-min-confs

config: default autopilot min confs to 1
This commit is contained in:
Olaoluwa Osuntokun 2019-07-24 17:42:56 -07:00 committed by GitHub
commit 4c80423ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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