godoc: address copy-paste errors accross the codebase

This commit is contained in:
Slyghtning 2026-02-28 10:29:25 +01:00
parent c1036ff705
commit a9977dd5f4
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
26 changed files with 62 additions and 50 deletions

View file

@ -19,8 +19,8 @@ const (
// 1%.
defaultRoutingFeePPM = 10000
// defaultRoutingFeePPM is the default limit we place on routing fees
// for the prepay invoice, expressed as parts per million of prepay
// defaultPrepayRoutingFeePPM is the default limit we place on routing
// fees for the prepay invoice, expressed as parts per million of prepay
// volume, 0.5%.
defaultPrepayRoutingFeePPM = 5000

View file

@ -369,7 +369,7 @@ func (m *Manager) SetParameters(ctx context.Context,
return m.saveParams(ctx, req)
}
// SetParameters updates our current set of parameters if the new parameters
// setParameters updates our current set of parameters if the new parameters
// provided are valid.
func (m *Manager) setParameters(ctx context.Context,
params Parameters) error {

View file

@ -409,7 +409,7 @@ func rpcToRule(rule *clientrpc.LiquidityRule) (*SwapRule, error) {
}
}
// rpcToParameters takes a `LiquidityParameters` and creates a `Parameters`
// RpcToParameters takes a `LiquidityParameters` and creates a `Parameters`
// from it.
func RpcToParameters(req *clientrpc.LiquidityParameters) (*Parameters,
error) {