Fix top_centrality in sample-lnd.conf

Input:
> autopilot.heuristic={topk_centrality:1}

Result:
> strconv.ParseFloat: parsing "1}": invalid syntax

Input:
> autopilot.heuristic=topk_centrality:1

Result:
> heuristic topk_centrality not available. Available heuristics are: [ 'preferential'  'externalscore'  'top_centrality' ]
This commit is contained in:
Ben Woosley 2020-10-02 15:09:52 -07:00 committed by GitHub
parent 652ac7fa3f
commit da805c022e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -477,8 +477,8 @@ litecoin.node=ltcd
; autopilot.allocation=0.6
; Heuristic to activate, and the weight to give it during scoring. (default:
; {preferential:1})
; autopilot.heuristic={topk_centrality:1}
; preferential:1)
; autopilot.heuristic=top_centrality:1
; The smallest channel that the autopilot agent should create (default: 20000)
; autopilot.minchansize=20000