mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
godoc: address copy-paste errors accross the codebase
This commit is contained in:
parent
c1036ff705
commit
a9977dd5f4
26 changed files with 62 additions and 50 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue