autopilot: typo fix

This commit is contained in:
yyforyongyu committed 2020-11-19 14:34:29 +08:00
1 parent 1efef51268
commit 9336b9b3d4
4 files changed
+9 -9

No files matched your search

+5 -5
View File
@@ -8,7 +8,7 @@ import (
// limits it will need to stay inside when opening channels.
type AgentConstraints interface {
// ChannelBudget should, given the passed parameters, return whether
// more channels can be be opened while still staying within the set
// more channels can be opened while still staying within the set
// constraints. If the constraints allow us to open more channels, then
// the first return value will represent the amount of additional funds
// available towards creating channels. The second return value is the
@@ -39,15 +39,15 @@ type agentConstraints struct {
// create.
minChanSize btcutil.Amount
// maxChanSize the largest channel that the autopilot agent should
// maxChanSize is the largest channel that the autopilot agent should
// create.
maxChanSize btcutil.Amount
// chanLimit the maximum number of channels that should be created.
// chanLimit is the maximum number of channels that should be created.
chanLimit uint16
// allocation the percentage of total funds that should be committed to
// automatic channel establishment.
// allocation is the percentage of total funds that should be committed
// to automatic channel establishment.
allocation float64
// maxPendingOpens is the maximum number of pending channel