From eb8576aa8d67c1a0cd9f1921f4e011461b7aa5ce Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Wed, 24 Jul 2019 11:59:28 -0700 Subject: [PATCH] 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. --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index a65123be8..6dea524dc 100644 --- a/config.go +++ b/config.go @@ -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,